home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac 1993 September / September 93.iso / Archives / Personal / Gradebook / Empty Gradebook next >
MacBinary  |  1993-09-05  |  275.5 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, busy, Mon Apr 20 14:14:38 1992, modified Sat Sep 4 20:42:51 1993, creator HyperCard, type HyperCard stack, 195424 bytes "Empty Gradebook" , at 0x2fbe0 86420 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 45 6d 70 74 79 20 | 47 72 61 64 65 62 6f 6f |..Empty |Gradeboo|
|00000010| 6b 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |k.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 02 fb 60 00 | 01 51 94 a6 18 ba 8e a8 |......`.|.Q......|
|00000060| ae e6 8b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 44 f9 00 00 |........|....D...|
|00000080| 00 00 50 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..P.STAK|........|
|00000090| 00 00 00 0a 00 02 fb 60 | 00 00 50 00 00 00 00 00 |.......`|..P.....|
|000000a0| 00 00 00 01 00 00 00 06 | 00 00 0a f1 00 00 00 28 |........|.......(|
|000000b0| 00 00 1a 91 00 00 2b 34 | 00 00 00 00 00 00 00 00 |......+4|........|
|000000c0| 00 00 09 b4 00 00 00 00 | 00 02 00 00 18 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 01 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| d5 eb 46 83 00 00 00 00 | 00 50 00 50 01 a6 02 50 |..F.....|.P.P...P|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 71 00 00 0c d9 | 01 56 02 00 00 00 00 00 |...q....|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000690| 2d 2d 20 73 79 73 74 65 | 6d 20 6d 65 73 73 61 67 |-- syste|m messag|
|000006a0| 65 73 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |es -----|--------|
|000006b0| 2d 2d 2d 2d 2d 2d 0d 2d | 2d 0d 6f 6e 20 6f 70 65 |------.-|-.on ope|
|000006c0| 6e 53 74 61 63 6b 0d 73 | 68 6f 77 43 72 65 64 69 |nStack.s|howCredi|
|000006d0| 74 73 0d 6d 6f 64 69 66 | 79 4d 65 6e 75 73 20 22 |ts.modif|yMenus "|
|000006e0| 74 72 75 65 22 0d 70 61 | 73 73 20 6f 70 65 6e 53 |true".pa|ss openS|
|000006f0| 74 61 63 6b 0d 65 6e 64 | 20 6f 70 65 6e 53 74 61 |tack.end| openSta|
|00000700| 63 6b 0d 2d 2d 0d 6f 6e | 20 72 65 73 75 6d 65 53 |ck.--.on| resumeS|
|00000710| 74 61 63 6b 0d 6d 6f 64 | 69 66 79 4d 65 6e 75 73 |tack.mod|ifyMenus|
|00000720| 20 22 74 72 75 65 22 0d | 70 61 73 73 20 72 65 73 | "true".|pass res|
|00000730| 75 6d 65 53 74 61 63 6b | 0d 65 6e 64 20 72 65 73 |umeStack|.end res|
|00000740| 75 6d 65 53 74 61 63 6b | 0d 2d 2d 0d 6f 6e 20 63 |umeStack|.--.on c|
|00000750| 6c 6f 73 65 53 74 61 63 | 6b 0d 63 68 65 63 6b 46 |loseStac|k.checkF|
|00000760| 72 65 65 53 69 7a 65 0d | 69 66 20 74 68 65 72 65 |reeSize.|if there|
|00000770| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 22 63 72 | is a wi|ndow "cr|
|00000780| 65 64 69 74 73 22 0d 74 | 68 65 6e 20 68 69 64 65 |edits".t|hen hide|
|00000790| 20 77 69 6e 64 6f 77 20 | 22 63 72 65 64 69 74 73 | window |"credits|
|000007a0| 22 0d 6d 6f 64 69 66 79 | 4d 65 6e 75 73 20 22 66 |".modify|Menus "f|
|000007b0| 61 6c 73 65 22 0d 70 61 | 73 73 20 63 6c 6f 73 65 |alse".pa|ss close|
|000007c0| 53 74 61 63 6b 0d 65 6e | 64 20 63 6c 6f 73 65 53 |Stack.en|d closeS|
|000007d0| 74 61 63 6b 0d 2d 2d 0d | 6f 6e 20 73 75 73 70 65 |tack.--.|on suspe|
|000007e0| 6e 64 53 74 61 63 6b 0d | 69 66 20 74 68 65 72 65 |ndStack.|if there|
|000007f0| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 22 63 72 | is a wi|ndow "cr|
|00000800| 65 64 69 74 73 22 0d 74 | 68 65 6e 20 68 69 64 65 |edits".t|hen hide|
|00000810| 20 77 69 6e 64 6f 77 20 | 22 63 72 65 64 69 74 73 | window |"credits|
|00000820| 22 0d 6d 6f 64 69 66 79 | 4d 65 6e 75 73 20 22 66 |".modify|Menus "f|
|00000830| 61 6c 73 65 22 0d 70 61 | 73 73 20 73 75 73 70 65 |alse".pa|ss suspe|
|00000840| 6e 64 53 74 61 63 6b 0d | 65 6e 64 20 73 75 73 70 |ndStack.|end susp|
|00000850| 65 6e 64 53 74 61 63 6b | 0d 2d 2d 0d 6f 6e 20 61 |endStack|.--.on a|
|00000860| 72 72 6f 77 4b 65 79 20 | 77 68 69 63 68 44 69 72 |rrowKey |whichDir|
|00000870| 65 63 74 69 6f 6e 0d 2d | 2d 20 69 6e 74 65 72 63 |ection.-|- interc|
|00000880| 65 70 74 20 61 72 72 6f | 77 20 6b 65 79 73 20 69 |ept arro|w keys i|
|00000890| 66 20 74 68 65 79 20 61 | 72 65 20 6e 6f 74 20 69 |f they a|re not i|
|000008a0| 6e 20 66 69 65 6c 64 73 | 0d 2d 2d 20 6c 65 61 76 |n fields|.-- leav|
|000008b0| 65 20 6f 70 74 20 2d 20 | 61 72 72 6f 77 20 6f 70 |e opt - |arrow op|
|000008c0| 65 6e 20 66 6f 72 20 6d | 6f 72 65 20 65 78 70 65 |en for m|ore expe|
|000008d0| 72 69 65 6e 63 65 64 20 | 48 43 20 75 73 65 72 73 |rienced |HC users|
|000008e0| 0d 69 66 20 74 68 65 20 | 6f 70 74 69 6f 6e 4b 65 |.if the |optionKe|
|000008f0| 79 20 69 73 20 6e 6f 74 | 20 64 6f 77 6e 20 61 6e |y is not| down an|
|00000900| 64 20 74 68 65 20 73 65 | 6c 65 63 74 65 64 4c 69 |d the se|lectedLi|
|00000910| 6e 65 20 69 73 20 65 6d | 70 74 79 0d 74 68 65 6e |ne is em|pty.then|
|00000920| 20 65 78 69 74 20 61 72 | 72 6f 77 4b 65 79 0d 65 | exit ar|rowKey.e|
|00000930| 6c 73 65 20 70 61 73 73 | 20 61 72 72 6f 77 6b 65 |lse pass| arrowke|
|00000940| 79 0d 65 6e 64 20 61 72 | 72 6f 77 4b 65 79 0d 2d |y.end ar|rowKey.-|
|00000950| 2d 0d 6f 6e 20 73 68 6f | 77 43 72 65 64 69 74 73 |-.on sho|wCredits|
|00000960| 0d 70 69 63 74 75 72 65 | 20 22 63 72 65 64 69 74 |.picture| "credit|
|00000970| 73 22 2c 22 72 65 73 6f | 75 72 63 65 22 2c 22 72 |s","reso|urce","r|
|00000980| 65 63 74 22 2c 22 66 61 | 6c 73 65 22 2c 22 31 22 |ect","fa|lse","1"|
|00000990| 0d 73 65 74 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |.set the| loc of |
|000009a0| 77 69 6e 64 6f 77 20 22 | 63 72 65 64 69 74 73 22 |window "|credits"|
|000009b0| 20 74 6f 20 22 32 35 2c | 33 30 22 0d 73 68 6f 77 | to "25,|30".show|
|000009c0| 20 77 69 6e 64 6f 77 20 | 22 63 72 65 64 69 74 73 | window |"credits|
|000009d0| 22 0d 65 6e 64 20 73 68 | 6f 77 43 72 65 64 69 74 |".end sh|owCredit|
|000009e0| 73 0d 2d 2d 0d 6f 6e 20 | 6d 6f 64 69 66 79 4d 65 |s.--.on |modifyMe|
|000009f0| 6e 75 73 20 77 68 69 63 | 68 57 61 79 0d 69 66 20 |nus whic|hWay.if |
|00000a00| 74 68 65 20 75 73 65 72 | 4c 65 76 65 6c 20 3e 20 |the user|Level > |
|00000a10| 32 20 74 68 65 6e 20 65 | 78 69 74 20 6d 6f 64 69 |2 then e|xit modi|
|00000a20| 66 79 4d 65 6e 75 73 0d | 2d 2d 20 64 6f 6e 27 74 |fyMenus.|-- don't|
|00000a30| 20 63 68 61 6e 67 65 20 | 6d 65 6e 75 73 20 69 66 | change |menus if|
|00000a40| 20 75 73 65 72 6c 65 76 | 65 6c 20 3e 20 32 0d 70 | userlev|el > 2.p|
|00000a50| 75 74 20 6e 6f 74 20 77 | 68 69 63 68 57 61 79 20 |ut not w|hichWay |
|00000a60| 69 6e 74 6f 20 77 68 69 | 63 68 57 61 79 0d 2d 2d |into whi|chWay.--|
|00000a70| 20 69 66 20 77 65 20 6d | 6f 64 69 66 79 20 6d 65 | if we m|odify me|
|00000a80| 6e 75 73 2c 20 77 65 20 | 74 75 72 6e 20 73 6f 6d |nus, we |turn som|
|00000a90| 65 20 73 74 75 66 66 20 | 6f 66 66 0d 69 66 20 74 |e stuff |off.if t|
|00000aa0| 68 65 72 65 20 69 73 20 | 61 20 6d 65 6e 75 20 22 |here is |a menu "|
|00000ab0| 67 6f 22 0d 74 68 65 6e | 20 73 65 74 20 74 68 65 |go".then| set the|
|00000ac0| 20 65 6e 61 62 6c 65 64 | 20 6f 66 20 6d 65 6e 75 | enabled| of menu|
|00000ad0| 20 22 67 6f 22 20 74 6f | 20 77 68 69 63 68 57 61 | "go" to| whichWa|
|00000ae0| 79 0d 65 6e 64 20 6d 6f | 64 69 66 79 4d 65 6e 75 |y.end mo|difyMenu|
|00000af0| 73 0d 2d 2d 0d 6f 6e 20 | 6d 6f 75 73 65 55 70 49 |s.--.on |mouseUpI|
|00000b00| 6e 50 69 63 74 75 72 65 | 0d 69 66 20 74 68 65 72 |nPicture|.if ther|
|00000b10| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 22 63 |e is a w|indow "c|
|00000b20| 72 65 64 69 74 73 22 0d | 74 68 65 6e 20 68 69 64 |redits".|then hid|
|00000b30| 65 20 77 69 6e 64 6f 77 | 20 22 63 72 65 64 69 74 |e window| "credit|
|00000b40| 73 22 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 49 6e |s".end m|ouseUpIn|
|00000b50| 50 69 63 74 75 72 65 0d | 2d 2d 0d 6f 6e 20 63 68 |Picture.|--.on ch|
|00000b60| 65 63 6b 46 72 65 65 53 | 69 7a 65 0d 2d 2d 20 63 |eckFreeS|ize.-- c|
|00000b70| 68 65 63 6b 20 68 6f 77 | 20 6d 75 63 68 20 66 72 |heck how| much fr|
|00000b80| 65 65 20 73 70 61 63 65 | 20 74 68 65 72 65 20 69 |ee space| there i|
|00000b90| 73 2c 20 61 6e 64 20 61 | 73 6b 20 74 6f 20 63 6f |s, and a|sk to co|
|00000ba0| 6d 70 61 63 74 20 69 74 | 0d 70 75 74 20 74 68 65 |mpact it|.put the|
|00000bb0| 20 66 72 65 65 53 69 7a | 65 20 6f 66 20 74 68 69 | freeSiz|e of thi|
|00000bc0| 73 20 73 74 61 63 6b 20 | 64 69 76 20 31 30 30 30 |s stack |div 1000|
|00000bd0| 20 69 6e 74 6f 20 66 72 | 65 65 53 70 61 63 65 0d | into fr|eeSpace.|
|00000be0| 70 75 74 20 74 68 65 20 | 73 69 7a 65 20 6f 66 20 |put the |size of |
|00000bf0| 74 68 69 73 20 73 74 61 | 63 6b 20 64 69 76 20 31 |this sta|ck div 1|
|00000c00| 30 30 30 20 69 6e 74 6f | 20 73 74 61 63 6b 53 69 |000 into| stackSi|
|00000c10| 7a 65 0d 69 66 20 66 72 | 65 65 53 70 61 63 65 20 |ze.if fr|eeSpace |
|00000c20| 2f 20 73 74 61 63 6b 53 | 69 7a 65 20 3e 20 2e 32 |/ stackS|ize > .2|
|00000c30| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 53 74 | then.an|swer "St|
|00000c40| 61 63 6b 20 68 61 73 22 | 20 26 26 20 66 72 65 65 |ack has"| && free|
|00000c50| 53 70 61 63 65 20 26 26 | 20 22 4b 20 66 72 65 65 |Space &&| "K free|
|00000c60| 2e 20 43 6f 6d 70 61 63 | 74 20 73 74 61 63 6b 3f |. Compac|t stack?|
|00000c70| 22 20 c2 0d 26 20 72 65 | 74 75 72 6e 20 26 20 22 |" ..& re|turn & "|
|00000c80| 28 4d 61 79 20 74 61 6b | 65 20 61 20 6d 69 6e 75 |(May tak|e a minu|
|00000c90| 74 65 2e 29 22 20 77 69 | 74 68 20 22 4e 6f 22 20 |te.)" wi|th "No" |
|00000ca0| 6f 72 20 22 4f 4b 22 0d | 69 66 20 69 74 20 69 73 |or "OK".|if it is|
|00000cb0| 20 22 4f 4b 22 20 74 68 | 65 6e 20 64 6f 6d 65 6e | "OK" th|en domen|
|00000cc0| 75 20 22 63 6f 6d 70 61 | 63 74 20 73 74 61 63 6b |u "compa|ct stack|
|00000cd0| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 63 68 65 |".end if|.end che|
|00000ce0| 63 6b 46 72 65 65 53 69 | 7a 65 0d 2d 2d 0d 6f 6e |ckFreeSi|ze.--.on|
|00000cf0| 20 70 75 6c 6c 64 6f 77 | 6e 4d 65 6e 75 20 74 68 | pulldow|nMenu th|
|00000d00| 65 4d 65 6e 75 0d 67 65 | 74 20 66 75 6c 6c 48 50 |eMenu.ge|t fullHP|
|00000d10| 6f 70 20 28 74 68 65 4d | 65 6e 75 29 0d 69 66 20 |op (theM|enu).if |
|00000d20| 69 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |it is em|pty then|
|00000d30| 20 65 78 69 74 20 70 75 | 6c 6c 64 6f 77 6e 4d 65 | exit pu|lldownMe|
|00000d40| 6e 75 0d 65 6c 73 65 20 | 70 75 74 20 69 74 65 6d |nu.else |put item|
|00000d50| 20 31 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 74 68 | 1 of it| into th|
|00000d60| 65 20 74 61 72 67 65 74 | 0d 65 6e 64 20 70 75 6c |e target|.end pul|
|00000d70| 6c 64 6f 77 6e 4d 65 6e | 75 0d 2d 2d 0d 2d 2d 2d |ldownMen|u.--.---|
|00000d80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d90| 2d 20 6d 65 6e 75 20 6d | 65 73 73 61 67 65 20 68 |- menu m|essage h|
|00000da0| 61 6e 64 6c 65 72 73 20 | 2d 2d 2d 2d 2d 2d 2d 2d |andlers |--------|
|00000db0| 2d 2d 2d 2d 0d 2d 2d 0d | 6f 6e 20 64 6f 4d 65 6e |----.--.|on doMen|
|00000dc0| 75 20 74 68 65 49 74 65 | 6d 2c 74 68 65 4d 65 6e |u theIte|m,theMen|
|00000dd0| 75 0d 2d 2d 20 69 6e 74 | 65 72 63 65 70 74 20 6e |u.-- int|ercept n|
|00000de0| 65 77 20 63 61 72 64 20 | 61 6e 64 20 64 65 6c 65 |ew card |and dele|
|00000df0| 74 65 20 63 61 72 64 20 | 66 6f 72 20 69 6e 65 78 |te card |for inex|
|00000e00| 70 65 72 69 65 6e 63 65 | 64 20 48 43 20 75 73 65 |perience|d HC use|
|00000e10| 72 73 0d 69 66 20 74 68 | 65 20 75 73 65 72 4c 65 |rs.if th|e userLe|
|00000e20| 76 65 6c 20 3e 20 32 20 | 74 68 65 6e 20 70 61 73 |vel > 2 |then pas|
|00000e30| 73 20 64 6f 4d 65 6e 75 | 0d 65 6c 73 65 20 69 66 |s doMenu|.else if|
|00000e40| 20 74 68 65 49 74 65 6d | 20 69 73 20 22 6e 65 77 | theItem| is "new|
|00000e50| 20 63 61 72 64 22 20 74 | 68 65 6e 0d 70 6c 61 79 | card" t|hen.play|
|00000e60| 20 22 62 6f 69 6e 67 22 | 0d 61 6e 73 77 65 72 20 | "boing"|.answer |
|00000e70| 22 43 61 6e 27 74 20 6d | 61 6b 65 20 6e 65 77 20 |"Can't m|ake new |
|00000e80| 63 61 72 64 2e 22 0d 65 | 6c 73 65 20 69 66 20 74 |card.".e|lse if t|
|00000e90| 68 65 49 74 65 6d 20 69 | 73 20 22 64 65 6c 65 74 |heItem i|s "delet|
|00000ea0| 65 20 63 61 72 64 22 20 | 74 68 65 6e 0d 70 6c 61 |e card" |then.pla|
|00000eb0| 79 20 22 62 6f 69 6e 67 | 22 0d 61 6e 73 77 65 72 |y "boing|".answer|
|00000ec0| 20 22 43 61 6e 27 74 20 | 64 65 6c 65 74 65 20 63 | "Can't |delete c|
|00000ed0| 61 72 64 2e 22 0d 65 6c | 73 65 20 70 61 73 73 20 |ard.".el|se pass |
|00000ee0| 64 6f 4d 65 6e 75 0d 65 | 6e 64 20 64 6f 4d 65 6e |doMenu.e|nd doMen|
|00000ef0| 75 0d 2d 2d 0d 6f 6e 20 | 64 6f 4e 61 76 20 64 65 |u.--.on |doNav de|
|00000f00| 73 74 69 6e 61 74 69 6f | 6e 0d 2d 2d 20 68 61 6e |stinatio|n.-- han|
|00000f10| 64 6c 65 73 20 6d 65 73 | 73 61 67 65 73 20 66 72 |dles mes|sages fr|
|00000f20| 6f 6d 20 74 68 65 20 6e | 61 76 20 62 75 74 74 6f |om the n|av butto|
|00000f30| 6e 73 0d 70 75 74 20 74 | 68 65 20 6e 75 6d 62 65 |ns.put t|he numbe|
|00000f40| 72 20 6f 66 20 63 61 72 | 64 20 64 65 73 74 69 6e |r of car|d destin|
|00000f50| 61 74 69 6f 6e 20 69 6e | 74 6f 20 64 65 73 74 69 |ation in|to desti|
|00000f60| 6e 61 74 69 6f 6e 4e 75 | 6d 62 65 72 0d 70 75 74 |nationNu|mber.put|
|00000f70| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00000f80| 6f 66 20 74 68 69 73 20 | 63 61 72 64 20 69 6e 74 |of this |card int|
|00000f90| 6f 20 63 75 72 72 65 6e | 74 4c 6f 63 61 74 69 6f |o curren|tLocatio|
|00000fa0| 6e 0d 2d 2d 0d 69 66 20 | 74 68 65 72 65 20 69 73 |n.--.if |there is|
|00000fb0| 20 61 20 62 6b 67 6e 64 | 20 62 74 6e 20 63 75 72 | a bkgnd| btn cur|
|00000fc0| 72 65 6e 74 4c 6f 63 61 | 74 69 6f 6e 0d 74 68 65 |rentLoca|tion.the|
|00000fd0| 6e 20 73 65 74 20 74 68 | 65 20 68 69 6c 69 74 65 |n set th|e hilite|
|00000fe0| 20 6f 66 20 62 6b 67 6e | 64 20 62 74 6e 20 63 75 | of bkgn|d btn cu|
|00000ff0| 72 72 65 6e 74 4c 6f 63 | 61 74 69 6f 6e 20 74 6f |rrentLoc|ation to|
|00001000| 20 66 61 6c 73 65 0d 65 | 6c 73 65 20 69 66 20 74 | false.e|lse if t|
|00001010| 68 65 72 65 20 69 73 20 | 61 20 63 64 20 62 74 6e |here is |a cd btn|
|00001020| 20 63 75 72 72 65 6e 74 | 4c 6f 63 61 74 69 6f 6e | current|Location|
|00001030| 0d 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 68 69 |.then se|t the hi|
|00001040| 6c 69 74 65 20 6f 66 20 | 63 64 20 62 74 6e 20 63 |lite of |cd btn c|
|00001050| 75 72 72 65 6e 74 4c 6f | 63 61 74 69 6f 6e 20 74 |urrentLo|cation t|
|00001060| 6f 20 66 61 6c 73 65 0d | 2d 2d 0d 69 66 20 74 68 |o false.|--.if th|
|00001070| 65 72 65 20 69 73 20 61 | 20 62 6b 67 6e 64 20 62 |ere is a| bkgnd b|
|00001080| 74 6e 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 20 6f |tn desti|nation o|
|00001090| 66 20 63 64 20 64 65 73 | 74 69 6e 61 74 69 6f 6e |f cd des|tination|
|000010a0| 4e 75 6d 62 65 72 0d 74 | 68 65 6e 20 73 65 74 20 |Number.t|hen set |
|000010b0| 74 68 65 20 68 69 6c 69 | 74 65 20 6f 66 20 62 6b |the hili|te of bk|
|000010c0| 67 6e 64 20 62 74 6e 20 | 64 65 73 74 69 6e 61 74 |gnd btn |destinat|
|000010d0| 69 6f 6e 20 6f 66 20 63 | 64 20 64 65 73 74 69 6e |ion of c|d destin|
|000010e0| 61 74 69 6f 6e 4e 75 6d | 62 65 72 20 74 6f 20 74 |ationNum|ber to t|
|000010f0| 72 75 65 0d 65 6c 73 65 | 20 69 66 20 74 68 65 72 |rue.else| if ther|
|00001100| 65 20 69 73 20 61 20 63 | 64 20 62 74 6e 20 64 65 |e is a c|d btn de|
|00001110| 73 74 69 6e 61 74 69 6f | 6e 20 6f 66 20 63 64 20 |stinatio|n of cd |
|00001120| 64 65 73 74 69 6e 61 74 | 69 6f 6e 4e 75 6d 62 65 |destinat|ionNumbe|
|00001130| 72 0d 74 68 65 6e 20 73 | 65 74 20 74 68 65 20 68 |r.then s|et the h|
|00001140| 69 6c 69 74 65 20 6f 66 | 20 63 64 20 62 74 6e 20 |ilite of| cd btn |
|00001150| 64 65 73 74 69 6e 61 74 | 69 6f 6e 20 6f 66 20 63 |destinat|ion of c|
|00001160| 64 20 64 65 73 74 69 6e | 61 74 69 6f 6e 4e 75 6d |d destin|ationNum|
|00001170| 62 65 72 20 74 6f 20 74 | 72 75 65 0d 2d 2d 0d 67 |ber to t|rue.--.g|
|00001180| 6f 20 74 6f 20 63 61 72 | 64 20 64 65 73 74 69 6e |o to car|d destin|
|00001190| 61 74 69 6f 6e 0d 65 6e | 64 20 64 6f 4e 61 76 0d |ation.en|d doNav.|
|000011a0| 2d 2d 0d 6f 6e 20 68 65 | 6c 70 0d 2d 2d 20 75 73 |--.on he|lp.-- us|
|000011b0| 65 20 67 72 61 64 65 62 | 6f 6f 6b 20 68 65 6c 70 |e gradeb|ook help|
|000011c0| 2c 20 6e 6f 74 20 48 43 | 20 68 65 6c 70 0d 69 66 |, not HC| help.if|
|000011d0| 20 74 68 65 72 65 20 69 | 73 20 61 20 62 6b 67 6e | there i|s a bkgn|
|000011e0| 64 20 62 74 6e 20 22 68 | 65 6c 70 22 0d 74 68 65 |d btn "h|elp".the|
|000011f0| 6e 20 73 65 6e 64 20 6d | 6f 75 73 65 55 70 20 74 |n send m|ouseUp t|
|00001200| 6f 20 62 6b 67 6e 64 20 | 62 74 6e 20 22 68 65 6c |o bkgnd |btn "hel|
|00001210| 70 22 0d 65 6e 64 20 68 | 65 6c 70 0d 2d 2d 0d 2d |p".end h|elp.--.-|
|00001220| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 6e 65 77 |--------|---- new|
|00001230| 20 65 6e 74 72 79 20 68 | 61 6e 64 6c 65 72 73 20 | entry h|andlers |
|00001240| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 2d 2d 0d |--------|----.--.|
|00001250| 2d 2d 20 75 73 65 64 20 | 77 68 65 6e 20 70 6f 73 |-- used |when pos|
|00001260| 74 69 6e 67 20 73 63 6f | 72 65 73 0d 2d 2d 20 61 |ting sco|res.-- a|
|00001270| 6e 64 20 62 79 20 74 68 | 65 20 45 6e 74 72 69 65 |nd by th|e Entrie|
|00001280| 73 20 63 61 72 64 20 77 | 68 65 6e 20 63 68 61 6e |s card w|hen chan|
|00001290| 67 69 6e 67 20 74 68 65 | 20 64 61 74 65 20 6f 66 |ging the| date of|
|000012a0| 20 61 6e 20 65 6e 74 72 | 79 0d 2d 2d 0d 66 75 6e | an entr|y.--.fun|
|000012b0| 63 74 69 6f 6e 20 69 6e | 73 65 72 74 4c 69 6e 65 |ction in|sertLine|
|000012c0| 4e 75 6d 20 74 68 65 44 | 61 74 65 2c 67 72 61 64 |Num theD|ate,grad|
|000012d0| 65 54 79 70 65 4e 75 6d | 0d 2d 2d 20 72 65 74 75 |eTypeNum|.-- retu|
|000012e0| 72 6e 73 20 74 68 65 20 | 70 6f 73 69 74 69 6f 6e |rns the |position|
|000012f0| 20 6f 66 20 61 20 6e 65 | 77 20 65 6e 74 72 79 20 | of a ne|w entry |
|00001300| 69 6e 20 74 68 65 20 65 | 6e 74 72 79 20 6c 69 73 |in the e|ntry lis|
|00001310| 74 0d 2d 2d 20 65 6e 74 | 72 69 65 73 20 61 72 65 |t.-- ent|ries are|
|00001320| 20 6f 72 64 65 72 65 64 | 20 62 79 20 67 72 61 64 | ordered| by grad|
|00001330| 65 20 63 61 74 65 67 6f | 72 79 20 61 6e 64 20 64 |e catego|ry and d|
|00001340| 61 74 65 0d 70 75 74 20 | 63 64 20 66 6c 64 20 69 |ate.put |cd fld i|
|00001350| 64 20 38 20 6f 66 20 63 | 64 20 22 65 6e 74 72 69 |d 8 of c|d "entri|
|00001360| 65 73 22 20 69 6e 74 6f | 20 6e 75 6d 53 63 6f 72 |es" into| numScor|
|00001370| 65 73 0d 70 75 74 20 65 | 78 74 72 61 63 74 49 74 |es.put e|xtractIt|
|00001380| 65 6d 73 20 28 63 64 20 | 66 6c 64 20 22 65 6e 74 |ems (cd |fld "ent|
|00001390| 72 79 20 64 61 74 61 22 | 20 6f 66 20 63 64 20 22 |ry data"| of cd "|
|000013a0| 65 6e 74 72 69 65 73 22 | 2c 22 31 22 29 20 69 6e |entries"|,"1") in|
|000013b0| 74 6f 20 74 68 65 44 61 | 74 65 4c 69 73 74 0d 70 |to theDa|teList.p|
|000013c0| 75 74 20 70 72 65 76 4e | 75 6d 20 28 67 72 61 64 |ut prevN|um (grad|
|000013d0| 65 54 79 70 65 4e 75 6d | 2c 6e 75 6d 53 63 6f 72 |eTypeNum|,numScor|
|000013e0| 65 73 29 20 69 6e 74 6f | 20 74 68 65 50 72 65 76 |es) into| thePrev|
|000013f0| 4e 75 6d 0d 67 65 74 20 | 67 72 61 64 65 43 68 75 |Num.get |gradeChu|
|00001400| 6e 6b 20 28 74 68 65 50 | 72 65 76 4e 75 6d 2c 6c |nk (theP|revNum,l|
|00001410| 69 6e 65 20 67 72 61 64 | 65 54 79 70 65 4e 75 6d |ine grad|eTypeNum|
|00001420| 20 6f 66 20 6e 75 6d 53 | 63 6f 72 65 73 2c 74 68 | of numS|cores,th|
|00001430| 65 44 61 74 65 4c 69 73 | 74 29 0d 72 65 74 75 72 |eDateLis|t).retur|
|00001440| 6e 20 74 68 65 50 72 65 | 76 4e 75 6d 20 2b 20 64 |n thePre|vNum + d|
|00001450| 61 74 65 50 72 65 53 6f | 72 74 20 28 74 68 65 44 |atePreSo|rt (theD|
|00001460| 61 74 65 2c 69 74 29 0d | 65 6e 64 20 69 6e 73 65 |ate,it).|end inse|
|00001470| 72 74 4c 69 6e 65 4e 75 | 6d 0d 2d 2d 0d 66 75 6e |rtLineNu|m.--.fun|
|00001480| 63 74 69 6f 6e 20 64 61 | 74 65 50 72 65 73 6f 72 |ction da|tePresor|
|00001490| 74 20 74 68 65 44 61 74 | 65 2c 74 68 65 4c 69 73 |t theDat|e,theLis|
|000014a0| 74 0d 2d 2d 20 72 65 74 | 75 72 6e 73 20 74 68 65 |t.-- ret|urns the|
|000014b0| 20 70 6f 73 69 74 69 6f | 6e 20 6f 66 20 61 20 64 | positio|n of a d|
|000014c0| 61 74 65 20 69 6e 20 61 | 20 64 61 74 65 20 6c 69 |ate in a| date li|
|000014d0| 73 74 0d 70 75 74 20 74 | 68 65 44 61 74 65 20 26 |st.put t|heDate &|
|000014e0| 20 72 65 74 75 72 6e 20 | 62 65 66 6f 72 65 20 6c | return |before l|
|000014f0| 69 6e 65 20 31 20 6f 66 | 20 74 68 65 4c 69 73 74 |ine 1 of| theList|
|00001500| 0d 73 6f 72 74 20 6c 69 | 6e 65 73 20 6f 66 20 74 |.sort li|nes of t|
|00001510| 68 65 4c 69 73 74 20 64 | 61 74 65 54 69 6d 65 0d |heList d|ateTime.|
|00001520| 67 65 74 20 54 65 78 74 | 54 6f 4c 69 6e 65 4e 75 |get Text|ToLineNu|
|00001530| 6d 20 28 74 68 65 44 61 | 74 65 2c 74 68 65 4c 69 |m (theDa|te,theLi|
|00001540| 73 74 29 0d 72 65 74 75 | 72 6e 20 69 74 0d 65 6e |st).retu|rn it.en|
|00001550| 64 20 64 61 74 65 50 72 | 65 53 6f 72 74 0d 2d 2d |d datePr|eSort.--|
|00001560| 0d 66 75 6e 63 74 69 6f | 6e 20 67 72 61 64 65 43 |.functio|n gradeC|
|00001570| 68 75 6e 6b 20 70 72 65 | 76 4e 75 6d 2c 6e 75 6d |hunk pre|vNum,num|
|00001580| 54 68 69 73 43 61 74 2c | 74 68 65 43 6f 6e 74 61 |ThisCat,|theConta|
|00001590| 69 6e 65 72 0d 2d 2d 20 | 72 65 74 75 72 6e 73 20 |iner.-- |returns |
|000015a0| 61 6c 6c 20 65 6e 74 72 | 69 65 73 20 6f 66 20 61 |all entr|ies of a|
|000015b0| 20 67 69 76 65 6e 20 63 | 61 74 65 67 6f 72 79 0d | given c|ategory.|
|000015c0| 69 66 20 6e 75 6d 54 68 | 69 73 43 61 74 20 3d 20 |if numTh|isCat = |
|000015d0| 30 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 65 6d |0 then r|eturn em|
|000015e0| 70 74 79 0d 72 65 74 75 | 72 6e 20 6c 69 6e 65 20 |pty.retu|rn line |
|000015f0| 28 70 72 65 76 4e 75 6d | 20 2b 20 31 29 20 74 6f |(prevNum| + 1) to|
|00001600| 20 28 70 72 65 76 4e 75 | 6d 20 2b 20 6e 75 6d 54 | (prevNu|m + numT|
|00001610| 68 69 73 43 61 74 29 20 | 6f 66 20 74 68 65 43 6f |hisCat) |of theCo|
|00001620| 6e 74 61 69 6e 65 72 0d | 65 6e 64 20 67 72 61 64 |ntainer.|end grad|
|00001630| 65 43 68 75 6e 6b 0d 2d | 2d 0d 66 75 6e 63 74 69 |eChunk.-|-.functi|
|00001640| 6f 6e 20 70 72 65 76 4e | 75 6d 20 67 72 61 64 65 |on prevN|um grade|
|00001650| 54 79 70 65 4e 75 6d 2c | 6e 75 6d 53 63 6f 72 65 |TypeNum,|numScore|
|00001660| 73 0d 2d 2d 20 72 65 74 | 75 72 6e 73 20 74 68 65 |s.-- ret|urns the|
|00001670| 20 6e 75 6d 62 65 72 20 | 6f 66 20 65 6e 74 72 69 | number |of entri|
|00001680| 65 73 20 6f 6e 20 65 6e | 74 72 69 65 73 20 6c 69 |es on en|tries li|
|00001690| 73 74 0d 2d 2d 20 62 65 | 66 6f 72 65 20 74 68 65 |st.-- be|fore the|
|000016a0| 20 67 72 61 64 65 20 63 | 61 74 65 67 6f 72 79 20 | grade c|ategory |
|000016b0| 22 6e 75 6d 54 68 69 73 | 43 61 74 22 0d 69 66 20 |"numThis|Cat".if |
|000016c0| 67 72 61 64 65 54 79 70 | 65 4e 75 6d 20 3d 20 31 |gradeTyp|eNum = 1|
|000016d0| 20 74 68 65 6e 20 72 65 | 74 75 72 6e 20 30 0d 65 | then re|turn 0.e|
|000016e0| 6c 73 65 20 72 65 74 75 | 72 6e 20 73 75 6d 20 28 |lse retu|rn sum (|
|000016f0| 6c 69 6e 65 20 31 20 74 | 6f 20 28 67 72 61 64 65 |line 1 t|o (grade|
|00001700| 54 79 70 65 4e 75 6d 20 | 2d 20 31 29 20 6f 66 20 |TypeNum |- 1) of |
|00001710| 6e 75 6d 53 63 6f 72 65 | 73 29 0d 65 6e 64 20 70 |numScore|s).end p|
|00001720| 72 65 76 4e 75 6d 0d 2d | 2d 0d 6f 6e 20 75 70 64 |revNum.-|-.on upd|
|00001730| 61 74 65 41 76 65 72 61 | 67 65 73 20 73 74 75 64 |ateAvera|ges stud|
|00001740| 65 6e 74 4e 75 6d 2c 6e | 75 6d 53 63 6f 72 65 73 |entNum,n|umScores|
|00001750| 2c 77 65 69 67 68 74 69 | 6e 67 73 2c 6e 75 6d 44 |,weighti|ngs,numD|
|00001760| 72 6f 70 73 2c 6c 65 74 | 74 65 72 73 2c 6c 65 74 |rops,let|ters,let|
|00001770| 74 65 72 52 61 6e 67 65 | 73 0d 2d 2d 20 75 70 64 |terRange|s.-- upd|
|00001780| 61 74 65 20 61 76 65 72 | 61 67 65 20 66 6f 72 20 |ate aver|age for |
|00001790| 6f 6e 65 20 6f 72 20 61 | 6c 6c 20 73 74 75 64 65 |one or a|ll stude|
|000017a0| 6e 74 73 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |nts.set |cursor t|
|000017b0| 6f 20 77 61 74 63 68 0d | 69 66 20 6c 65 74 74 65 |o watch.|if lette|
|000017c0| 72 52 61 6e 67 65 73 20 | 69 73 20 65 6d 70 74 79 |rRanges |is empty|
|000017d0| 20 74 68 65 6e 0d 70 75 | 74 20 63 64 20 66 6c 64 | then.pu|t cd fld|
|000017e0| 20 69 64 20 38 20 6f 66 | 20 63 64 20 22 65 6e 74 | id 8 of| cd "ent|
|000017f0| 72 69 65 73 22 20 69 6e | 74 6f 20 6e 75 6d 53 63 |ries" in|to numSc|
|00001800| 6f 72 65 73 0d 70 75 74 | 20 63 64 20 66 6c 64 20 |ores.put| cd fld |
|00001810| 69 64 20 33 20 6f 66 20 | 63 64 20 22 67 72 61 64 |id 3 of |cd "grad|
|00001820| 65 20 73 79 73 74 65 6d | 22 20 69 6e 74 6f 20 77 |e system|" into w|
|00001830| 65 69 67 68 74 69 6e 67 | 73 0d 70 75 74 20 63 64 |eighting|s.put cd|
|00001840| 20 66 6c 64 20 69 64 20 | 31 20 6f 66 20 63 64 20 | fld id |1 of cd |
|00001850| 22 67 72 61 64 65 20 73 | 79 73 74 65 6d 22 20 69 |"grade s|ystem" i|
|00001860| 6e 74 6f 20 6e 75 6d 44 | 72 6f 70 73 0d 70 75 74 |nto numD|rops.put|
|00001870| 20 63 64 20 66 6c 64 20 | 22 6c 65 74 74 65 72 73 | cd fld |"letters|
|00001880| 22 20 6f 66 20 63 64 20 | 22 67 72 61 64 69 6e 67 |" of cd |"grading|
|00001890| 20 70 72 65 66 73 22 20 | 69 6e 74 6f 20 6c 65 74 | prefs" |into let|
|000018a0| 74 65 72 73 0d 70 75 74 | 20 63 64 20 66 6c 64 20 |ters.put| cd fld |
|000018b0| 22 72 61 6e 67 65 73 22 | 20 6f 66 20 63 64 20 22 |"ranges"| of cd "|
|000018c0| 67 72 61 64 69 6e 67 20 | 70 72 65 66 73 22 20 69 |grading |prefs" i|
|000018d0| 6e 74 6f 20 6c 65 74 74 | 65 72 52 61 6e 67 65 73 |nto lett|erRanges|
|000018e0| 0d 65 6e 64 20 69 66 0d | 2d 2d 0d 69 66 20 73 74 |.end if.|--.if st|
|000018f0| 75 64 65 6e 74 4e 75 6d | 20 3d 20 22 61 6c 6c 22 |udentNum| = "all"|
|00001900| 20 74 68 65 6e 0d 72 65 | 70 65 61 74 20 77 69 74 | then.re|peat wit|
|00001910| 68 20 78 20 3d 20 31 20 | 74 6f 20 6e 75 6d 62 65 |h x = 1 |to numbe|
|00001920| 72 20 6f 66 20 63 61 72 | 64 73 20 6f 66 20 62 6b |r of car|ds of bk|
|00001930| 67 6e 64 20 22 73 74 75 | 64 65 6e 74 20 63 61 72 |gnd "stu|dent car|
|00001940| 64 73 22 0d 64 6f 50 72 | 6f 6d 70 74 20 22 55 70 |ds".doPr|ompt "Up|
|00001950| 64 61 74 69 6e 67 20 73 | 74 75 64 65 6e 74 20 72 |dating s|tudent r|
|00001960| 65 63 6f 72 64 22 20 26 | 26 20 78 0d 70 75 74 20 |ecord" &|& x.put |
|00001970| 62 6b 67 6e 64 20 66 6c | 64 20 22 70 65 72 63 65 |bkgnd fl|d "perce|
|00001980| 6e 74 61 67 65 20 69 74 | 65 6d 73 22 20 6f 66 20 |ntage it|ems" of |
|00001990| 63 64 20 78 20 6f 66 20 | 62 6b 67 6e 64 20 22 73 |cd x of |bkgnd "s|
|000019a0| 74 75 64 65 6e 74 20 63 | 61 72 64 73 22 20 c2 0d |tudent c|ards" ..|
|000019b0| 69 6e 74 6f 20 74 68 65 | 50 65 72 63 65 6e 74 61 |into the|Percenta|
|000019c0| 67 65 73 0d 70 75 74 20 | 63 61 6c 63 75 6c 61 74 |ges.put |calculat|
|000019d0| 65 41 76 65 72 61 67 65 | 20 28 74 68 65 50 65 72 |eAverage| (thePer|
|000019e0| 63 65 6e 74 61 67 65 73 | 2c 6e 75 6d 53 63 6f 72 |centages|,numScor|
|000019f0| 65 73 2c 77 65 69 67 68 | 74 69 6e 67 73 2c 6c 65 |es,weigh|tings,le|
|00001a00| 74 74 65 72 73 2c c2 0d | 6c 65 74 74 65 72 52 61 |tters,..|letterRa|
|00001a10| 6e 67 65 73 2c 6e 75 6d | 44 72 6f 70 73 29 20 c2 |nges,num|Drops) .|
|00001a20| 0d 69 6e 74 6f 20 62 6b | 67 6e 64 20 66 6c 64 20 |.into bk|gnd fld |
|00001a30| 22 61 76 65 72 61 67 65 | 73 22 20 6f 66 20 63 64 |"average|s" of cd|
|00001a40| 20 78 20 6f 66 20 62 6b | 67 6e 64 20 22 73 74 75 | x of bk|gnd "stu|
|00001a50| 64 65 6e 74 20 63 61 72 | 64 73 22 0d 65 6e 64 20 |dent car|ds".end |
|00001a60| 72 65 70 65 61 74 0d 64 | 6f 50 72 6f 6d 70 74 20 |repeat.d|oPrompt |
|00001a70| 22 6f 66 66 22 0d 65 6c | 73 65 0d 70 75 74 20 62 |"off".el|se.put b|
|00001a80| 6b 67 6e 64 20 66 6c 64 | 20 22 70 65 72 63 65 6e |kgnd fld| "percen|
|00001a90| 74 61 67 65 20 69 74 65 | 6d 73 22 20 6f 66 20 63 |tage ite|ms" of c|
|00001aa0| 64 20 73 74 75 64 65 6e | 74 4e 75 6d 20 c2 0d 6f |d studen|tNum ..o|
|00001ab0| 66 20 62 6b 67 6e 64 20 | 22 73 74 75 64 65 6e 74 |f bkgnd |"student|
|00001ac0| 20 63 61 72 64 73 22 20 | 69 6e 74 6f 20 74 68 65 | cards" |into the|
|00001ad0| 50 65 72 63 65 6e 74 61 | 67 65 73 0d 70 75 74 20 |Percenta|ges.put |
|00001ae0| 63 61 6c 63 75 6c 61 74 | 65 41 76 65 72 61 67 65 |calculat|eAverage|
|00001af0| 20 28 74 68 65 50 65 72 | 63 65 6e 74 61 67 65 73 | (thePer|centages|
|00001b00| 2c 6e 75 6d 53 63 6f 72 | 65 73 2c 77 65 69 67 68 |,numScor|es,weigh|
|00001b10| 74 69 6e 67 73 2c 6c 65 | 74 74 65 72 73 2c c2 0d |tings,le|tters,..|
|00001b20| 6c 65 74 74 65 72 52 61 | 6e 67 65 73 2c 6e 75 6d |letterRa|nges,num|
|00001b30| 44 72 6f 70 73 29 20 c2 | 0d 69 6e 74 6f 20 62 6b |Drops) .|.into bk|
|00001b40| 67 6e 64 20 66 6c 64 20 | 22 61 76 65 72 61 67 65 |gnd fld |"average|
|00001b50| 73 22 20 6f 66 20 63 64 | 20 73 74 75 64 65 6e 74 |s" of cd| student|
|00001b60| 4e 75 6d 20 6f 66 20 62 | 6b 67 6e 64 20 22 73 74 |Num of b|kgnd "st|
|00001b70| 75 64 65 6e 74 20 63 61 | 72 64 73 22 0d 65 6e 64 |udent ca|rds".end|
|00001b80| 20 69 66 0d 65 6e 64 20 | 75 70 64 61 74 65 41 76 | if.end |updateAv|
|00001b90| 65 72 61 67 65 73 0d 2d | 2d 0d 66 75 6e 63 74 69 |erages.-|-.functi|
|00001ba0| 6f 6e 20 63 61 6c 63 75 | 6c 61 74 65 41 76 65 72 |on calcu|lateAver|
|00001bb0| 61 67 65 20 74 68 65 50 | 65 72 63 65 6e 74 61 67 |age theP|ercentag|
|00001bc0| 65 73 2c 6e 75 6d 53 63 | 6f 72 65 73 2c 77 65 69 |es,numSc|ores,wei|
|00001bd0| 67 68 74 69 6e 67 73 2c | c2 0d 6c 65 74 74 65 72 |ghtings,|..letter|
|00001be0| 73 2c 6c 65 74 74 65 72 | 52 61 6e 67 65 73 2c 6e |s,letter|Ranges,n|
|00001bf0| 75 6d 44 72 6f 70 73 0d | 2d 2d 20 63 61 6c 75 6c |umDrops.|-- calul|
|00001c00| 61 74 65 73 20 61 20 73 | 74 75 64 65 6e 74 20 61 |ates a s|tudent a|
|00001c10| 76 65 72 61 67 65 0d 2d | 2d 20 62 61 73 65 64 20 |verage.-|- based |
|00001c20| 6f 6e 20 67 72 61 64 69 | 6e 67 20 73 79 73 74 65 |on gradi|ng syste|
|00001c30| 6d 0d 73 65 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |m.set th|e number|
|00001c40| 66 6f 72 6d 61 74 20 74 | 6f 20 22 30 2e 23 22 0d |format t|o "0.#".|
|00001c50| 70 75 74 20 30 20 69 6e | 74 6f 20 73 75 6d 57 65 |put 0 in|to sumWe|
|00001c60| 69 67 68 74 69 6e 67 73 | 0d 70 75 74 20 30 20 69 |ightings|.put 0 i|
|00001c70| 6e 74 6f 20 73 75 62 74 | 6f 74 61 6c 0d 70 75 74 |nto subt|otal.put|
|00001c80| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 74 68 65 41 | empty i|nto theA|
|00001c90| 76 65 72 61 67 65 73 0d | 72 65 70 65 61 74 20 77 |verages.|repeat w|
|00001ca0| 69 74 68 20 78 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith x = |1 to num|
|00001cb0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of |
|00001cc0| 6e 75 6d 53 63 6f 72 65 | 73 0d 70 75 74 20 6c 69 |numScore|s.put li|
|00001cd0| 6e 65 20 78 20 6f 66 20 | 6e 75 6d 53 63 6f 72 65 |ne x of |numScore|
|00001ce0| 73 20 69 6e 74 6f 20 6e | 75 6d 54 68 69 73 54 79 |s into n|umThisTy|
|00001cf0| 70 65 0d 69 66 20 6e 75 | 6d 54 68 69 73 54 79 70 |pe.if nu|mThisTyp|
|00001d00| 65 20 3d 20 30 20 74 68 | 65 6e 0d 70 75 74 20 22 |e = 0 th|en.put "|
|00001d10| 2d 2d 20 4e 41 20 2d 2d | 22 20 69 6e 74 6f 20 6c |-- NA --|" into l|
|00001d20| 69 6e 65 20 78 20 6f 66 | 20 74 68 65 41 76 65 72 |ine x of| theAver|
|00001d30| 61 67 65 73 0d 6e 65 78 | 74 20 72 65 70 65 61 74 |ages.nex|t repeat|
|00001d40| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 70 72 65 76 |.end if.|put prev|
|00001d50| 4e 75 6d 20 28 78 2c 6e | 75 6d 53 63 6f 72 65 73 |Num (x,n|umScores|
|00001d60| 29 20 69 6e 74 6f 20 74 | 68 65 50 72 65 76 4e 75 |) into t|hePrevNu|
|00001d70| 6d 0d 70 75 74 20 69 74 | 65 6d 20 74 68 65 50 72 |m.put it|em thePr|
|00001d80| 65 76 4e 75 6d 20 2b 20 | 31 20 74 6f 20 74 68 65 |evNum + |1 to the|
|00001d90| 50 72 65 76 4e 75 6d 20 | 2b 20 6e 75 6d 54 68 69 |PrevNum |+ numThi|
|00001da0| 73 54 79 70 65 20 6f 66 | 20 74 68 65 50 65 72 63 |sType of| thePerc|
|00001db0| 65 6e 74 61 67 65 73 20 | c2 0d 69 6e 74 6f 20 70 |entages |..into p|
|00001dc0| 65 72 63 65 6e 74 4c 69 | 73 74 0d 70 75 74 20 74 |ercentLi|st.put t|
|00001dd0| 68 72 6f 77 4f 75 74 58 | 53 63 6f 72 65 73 20 28 |hrowOutX|Scores (|
|00001de0| 70 65 72 63 65 6e 74 4c | 69 73 74 29 20 69 6e 74 |percentL|ist) int|
|00001df0| 6f 20 70 65 72 63 65 6e | 74 4c 69 73 74 0d 70 75 |o percen|tList.pu|
|00001e00| 74 20 74 68 72 6f 77 4f | 75 74 20 28 70 65 72 63 |t throwO|ut (perc|
|00001e10| 65 6e 74 4c 69 73 74 2c | 6c 69 6e 65 20 78 20 6f |entList,|line x o|
|00001e20| 66 20 6e 75 6d 44 72 6f | 70 73 29 20 69 6e 74 6f |f numDro|ps) into|
|00001e30| 20 70 65 72 63 65 6e 74 | 4c 69 73 74 0d 69 66 20 | percent|List.if |
|00001e40| 70 65 72 63 65 6e 74 4c | 69 73 74 20 69 73 20 65 |percentL|ist is e|
|00001e50| 6d 70 74 79 20 74 68 65 | 6e 0d 70 75 74 20 22 2d |mpty the|n.put "-|
|00001e60| 2d 20 4e 41 20 2d 2d 22 | 20 69 6e 74 6f 20 6c 69 |- NA --"| into li|
|00001e70| 6e 65 20 78 20 6f 66 20 | 74 68 65 41 76 65 72 61 |ne x of |theAvera|
|00001e80| 67 65 73 0d 6e 65 78 74 | 20 72 65 70 65 61 74 0d |ges.next| repeat.|
|00001e90| 65 6e 64 20 69 66 0d 67 | 65 74 20 61 76 65 72 61 |end if.g|et avera|
|00001ea0| 67 65 20 28 70 65 72 63 | 65 6e 74 4c 69 73 74 29 |ge (perc|entList)|
|00001eb0| 0d 70 75 74 20 69 74 20 | 26 26 20 63 6f 6e 76 65 |.put it |&& conve|
|00001ec0| 72 74 54 6f 4c 65 74 74 | 65 72 28 69 74 2c 6c 65 |rtToLett|er(it,le|
|00001ed0| 74 74 65 72 73 2c 6c 65 | 74 74 65 72 52 61 6e 67 |tters,le|tterRang|
|00001ee0| 65 73 29 20 c2 0d 69 6e | 74 6f 20 6c 69 6e 65 20 |es) ..in|to line |
|00001ef0| 78 20 6f 66 20 74 68 65 | 41 76 65 72 61 67 65 73 |x of the|Averages|
|00001f00| 0d 61 64 64 20 69 74 20 | 2a 20 6c 69 6e 65 20 78 |.add it |* line x|
|00001f10| 20 6f 66 20 77 65 69 67 | 68 74 69 6e 67 73 20 74 | of weig|htings t|
|00001f20| 6f 20 73 75 62 74 6f 74 | 61 6c 0d 61 64 64 20 6c |o subtot|al.add l|
|00001f30| 69 6e 65 20 78 20 6f 66 | 20 77 65 69 67 68 74 69 |ine x of| weighti|
|00001f40| 6e 67 73 20 74 6f 20 53 | 75 6d 57 65 69 67 68 74 |ngs to S|umWeight|
|00001f50| 69 6e 67 73 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |ings.end| repeat.|
|00001f60| 69 66 20 73 75 6d 57 65 | 69 67 68 74 69 6e 67 73 |if sumWe|ightings|
|00001f70| 20 ad 20 30 20 74 68 65 | 6e 0d 67 65 74 20 73 75 | . 0 the|n.get su|
|00001f80| 62 74 6f 74 61 6c 20 2f | 20 73 75 6d 57 65 69 67 |btotal /| sumWeig|
|00001f90| 68 74 69 6e 67 73 0d 70 | 75 74 20 69 74 20 26 26 |htings.p|ut it &&|
|00001fa0| 20 63 6f 6e 76 65 72 74 | 54 6f 4c 65 74 74 65 72 | convert|ToLetter|
|00001fb0| 20 28 69 74 2c 6c 65 74 | 74 65 72 73 2c 6c 65 74 | (it,let|ters,let|
|00001fc0| 74 65 72 52 61 6e 67 65 | 73 29 20 c2 0d 69 6e 74 |terRange|s) ..int|
|00001fd0| 6f 20 6c 69 6e 65 20 28 | 6e 75 6d 62 65 72 20 6f |o line (|number o|
|00001fe0| 66 20 6c 69 6e 65 73 20 | 6f 66 20 74 68 65 41 76 |f lines |of theAv|
|00001ff0| 65 72 61 67 65 73 20 2b | 20 32 29 20 6f 66 20 74 |erages +| 2) of t|
|00002000| 68 65 41 76 65 72 61 67 | 65 73 0d 65 6c 73 65 20 |heAverag|es.else |
|00002010| 70 75 74 20 22 2d 2d 20 | 4e 41 20 2d 2d 22 20 c2 |put "-- |NA --" .|
|00002020| 0d 69 6e 74 6f 20 6c 69 | 6e 65 20 28 6e 75 6d 62 |.into li|ne (numb|
|00002030| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 74 |er of li|nes of t|
|00002040| 68 65 41 76 65 72 61 67 | 65 73 20 2b 20 32 29 20 |heAverag|es + 2) |
|00002050| 6f 66 20 74 68 65 41 76 | 65 72 61 67 65 73 0d 72 |of theAv|erages.r|
|00002060| 65 74 75 72 6e 20 74 68 | 65 41 76 65 72 61 67 65 |eturn th|eAverage|
|00002070| 73 0d 65 6e 64 20 63 61 | 6c 63 75 6c 61 74 65 41 |s.end ca|lculateA|
|00002080| 76 65 72 61 67 65 0d 2d | 2d 0d 66 75 6e 63 74 69 |verage.-|-.functi|
|00002090| 6f 6e 20 74 68 72 6f 77 | 4f 75 74 20 6e 75 6d 62 |on throw|Out numb|
|000020a0| 65 72 4c 69 73 74 2c 68 | 6f 77 4d 61 6e 79 0d 2d |erList,h|owMany.-|
|000020b0| 2d 20 74 68 72 6f 77 73 | 20 6f 75 74 20 6c 6f 77 |- throws| out low|
|000020c0| 20 6e 75 6d 62 65 72 73 | 20 6f 6e 20 61 20 6c 69 | numbers| on a li|
|000020d0| 73 74 0d 69 66 20 6e 75 | 6d 62 65 72 20 6f 66 20 |st.if nu|mber of |
|000020e0| 69 74 65 6d 73 20 6f 66 | 20 6e 75 6d 62 65 72 4c |items of| numberL|
|000020f0| 69 73 74 20 b2 20 68 6f | 77 4d 61 6e 79 20 6f 72 |ist . ho|wMany or|
|00002100| 20 c2 0d 68 6f 77 4d 61 | 6e 79 20 3d 20 30 0d 74 | ..howMa|ny = 0.t|
|00002110| 68 65 6e 20 72 65 74 75 | 72 6e 20 6e 75 6d 62 65 |hen retu|rn numbe|
|00002120| 72 4c 69 73 74 0d 73 6f | 72 74 20 69 74 65 6d 73 |rList.so|rt items|
|00002130| 20 6f 66 20 6e 75 6d 62 | 65 72 4c 69 73 74 20 6e | of numb|erList n|
|00002140| 75 6d 65 72 69 63 0d 64 | 65 6c 65 74 65 20 69 74 |umeric.d|elete it|
|00002150| 65 6d 20 31 20 74 6f 20 | 68 6f 77 4d 61 6e 79 20 |em 1 to |howMany |
|00002160| 6f 66 20 6e 75 6d 62 65 | 72 4c 69 73 74 0d 72 65 |of numbe|rList.re|
|00002170| 74 75 72 6e 20 6e 75 6d | 62 65 72 4c 69 73 74 0d |turn num|berList.|
|00002180| 65 6e 64 20 74 68 72 6f | 77 4f 75 74 0d 2d 2d 0d |end thro|wOut.--.|
|00002190| 66 75 6e 63 74 69 6f 6e | 20 74 68 72 6f 77 4f 75 |function| throwOu|
|000021a0| 74 58 53 63 6f 72 65 73 | 20 6e 75 6d 62 65 72 4c |tXScores| numberL|
|000021b0| 69 73 74 0d 2d 2d 20 73 | 63 6f 72 65 73 20 6f 66 |ist.-- s|cores of|
|000021c0| 20 22 58 22 20 28 2a 20 | 61 73 20 61 20 70 65 72 | "X" (* |as a per|
|000021d0| 63 65 6e 74 61 67 65 29 | 20 77 69 6c 6c 20 6e 6f |centage)| will no|
|000021e0| 74 20 62 65 20 63 6f 6e | 73 69 64 65 72 65 64 0d |t be con|sidered.|
|000021f0| 72 65 70 65 61 74 20 77 | 68 69 6c 65 20 22 2a 22 |repeat w|hile "*"|
|00002200| 20 69 73 20 69 6e 20 6e | 75 6d 62 65 72 4c 69 73 | is in n|umberLis|
|00002210| 74 0d 70 75 74 20 6f 66 | 66 73 65 74 20 28 22 2a |t.put of|fset ("*|
|00002220| 22 2c 6e 75 6d 62 65 72 | 4c 69 73 74 29 20 69 6e |",number|List) in|
|00002230| 74 6f 20 63 68 61 72 50 | 6f 73 69 74 69 6f 6e 0d |to charP|osition.|
|00002240| 70 75 74 20 6e 75 6d 62 | 65 72 20 6f 66 20 69 74 |put numb|er of it|
|00002250| 65 6d 73 20 6f 66 20 63 | 68 61 72 20 31 20 74 6f |ems of c|har 1 to|
|00002260| 20 63 68 61 72 50 6f 73 | 69 74 69 6f 6e 20 6f 66 | charPos|ition of|
|00002270| 20 6e 75 6d 62 65 72 4c | 69 73 74 20 69 6e 74 6f | numberL|ist into|
|00002280| 20 69 74 65 6d 4e 75 6d | 0d 64 65 6c 65 74 65 20 | itemNum|.delete |
|00002290| 69 74 65 6d 20 69 74 65 | 6d 4e 75 6d 20 6f 66 20 |item ite|mNum of |
|000022a0| 6e 75 6d 62 65 72 4c 69 | 73 74 0d 65 6e 64 20 72 |numberLi|st.end r|
|000022b0| 65 70 65 61 74 0d 72 65 | 74 75 72 6e 20 6e 75 6d |epeat.re|turn num|
|000022c0| 62 65 72 4c 69 73 74 0d | 65 6e 64 20 74 68 72 6f |berList.|end thro|
|000022d0| 77 4f 75 74 58 53 63 6f | 72 65 73 0d 2d 2d 0d 2d |wOutXSco|res.--.-|
|000022e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000022f0| 2d 2d 2d 2d 2d 20 6d 69 | 73 63 20 68 61 6e 64 6c |----- mi|sc handl|
|00002300| 65 72 73 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ers ----|--------|
|00002310| 2d 2d 2d 2d 2d 2d 2d 0d | 2d 2d 0d 66 75 6e 63 74 |-------.|--.funct|
|00002320| 69 6f 6e 20 74 65 78 74 | 54 6f 4c 69 6e 65 4e 75 |ion text|ToLineNu|
|00002330| 6d 20 74 68 65 54 65 78 | 74 2c 73 6f 75 72 63 65 |m theTex|t,source|
|00002340| 0d 2d 2d 20 66 72 6f 6d | 20 70 6f 77 65 72 20 74 |.-- from| power t|
|00002350| 6f 6f 6c 73 20 73 63 72 | 69 70 74 20 6c 69 62 72 |ools scr|ipt libr|
|00002360| 61 72 79 0d 70 75 74 20 | 72 65 74 75 72 6e 20 26 |ary.put |return &|
|00002370| 20 73 6f 75 72 63 65 20 | 26 20 72 65 74 75 72 6e | source |& return|
|00002380| 20 69 6e 74 6f 20 73 6f | 75 72 63 65 0d 72 65 74 | into so|urce.ret|
|00002390| 75 72 6e 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |urn the |number o|
|000023a0| 66 20 6c 69 6e 65 73 20 | 6f 66 20 63 68 61 72 20 |f lines |of char |
|000023b0| 31 20 74 6f 20 c2 0d 6f | 66 66 73 65 74 28 72 65 |1 to ..o|ffset(re|
|000023c0| 74 75 72 6e 20 26 20 74 | 68 65 54 65 78 74 20 26 |turn & t|heText &|
|000023d0| 20 72 65 74 75 72 6e 2c | 73 6f 75 72 63 65 29 20 | return,|source) |
|000023e0| 6f 66 20 73 6f 75 72 63 | 65 0d 65 6e 64 20 74 65 |of sourc|e.end te|
|000023f0| 78 74 54 6f 4c 69 6e 65 | 4e 75 6d 0d 2d 2d 0d 66 |xtToLine|Num.--.f|
|00002400| 75 6e 63 74 69 6f 6e 20 | 6c 61 73 74 43 68 75 6e |unction |lastChun|
|00002410| 6b 20 64 65 6c 69 6d 2c | 74 68 65 54 65 78 74 0d |k delim,|theText.|
|00002420| 2d 2d 20 67 6f 6f 64 20 | 66 6f 72 20 73 65 70 61 |-- good |for sepa|
|00002430| 72 61 74 69 6e 67 20 61 | 20 66 69 6c 65 20 6e 61 |rating a| file na|
|00002440| 6d 65 20 66 72 6f 6d 20 | 61 6e 20 65 6e 74 69 72 |me from |an entir|
|00002450| 65 20 70 61 74 68 6e 61 | 6d 65 0d 2d 2d 20 66 72 |e pathna|me.-- fr|
|00002460| 6f 6d 20 70 6f 77 65 72 | 20 74 6f 6f 6c 73 20 73 |om power| tools s|
|00002470| 63 72 69 70 74 20 6c 69 | 62 72 61 72 79 0d 69 66 |cript li|brary.if|
|00002480| 20 64 65 6c 69 6d 20 69 | 73 20 69 6e 20 74 68 65 | delim i|s in the|
|00002490| 54 65 78 74 20 74 68 65 | 6e 0d 70 75 74 20 6c 61 |Text the|n.put la|
|000024a0| 73 74 43 68 75 6e 6b 28 | 64 65 6c 69 6d 2c 63 68 |stChunk(|delim,ch|
|000024b0| 61 72 20 6f 66 66 73 65 | 74 28 64 65 6c 69 6d 2c |ar offse|t(delim,|
|000024c0| 74 68 65 54 65 78 74 29 | 20 2b 20 31 20 74 6f 20 |theText)| + 1 to |
|000024d0| c2 0d 6c 65 6e 67 74 68 | 28 74 68 65 54 65 78 74 |..length|(theText|
|000024e0| 29 20 6f 66 20 74 68 65 | 54 65 78 74 29 20 69 6e |) of the|Text) in|
|000024f0| 74 6f 20 74 68 65 54 65 | 78 74 0d 65 6e 64 20 69 |to theTe|xt.end i|
|00002500| 66 0d 72 65 74 75 72 6e | 20 74 68 65 54 65 78 74 |f.return| theText|
|00002510| 0d 65 6e 64 20 6c 61 73 | 74 43 68 75 6e 6b 0d 2d |.end las|tChunk.-|
|00002520| 2d 0d 66 75 6e 63 74 69 | 6f 6e 20 6f 6e 4c 69 73 |-.functi|on onLis|
|00002530| 74 20 74 68 65 4c 69 73 | 74 2c 74 68 65 49 74 65 |t theLis|t,theIte|
|00002540| 6d 0d 2d 2d 20 72 65 74 | 75 72 6e 73 20 74 72 75 |m.-- ret|urns tru|
|00002550| 65 20 69 66 20 74 68 65 | 49 74 65 6d 20 69 73 20 |e if the|Item is |
|00002560| 6f 6e 20 74 68 65 20 6c | 69 73 74 20 6f 66 20 69 |on the l|ist of i|
|00002570| 74 65 6d 73 0d 69 66 20 | 74 68 65 49 74 65 6d 20 |tems.if |theItem |
|00002580| 3d 20 69 74 65 6d 20 31 | 20 6f 66 20 74 68 65 4c |= item 1| of theL|
|00002590| 69 73 74 20 6f 72 20 c2 | 0d 74 68 65 49 74 65 6d |ist or .|.theItem|
|000025a0| 20 3d 20 6c 61 73 74 20 | 69 74 65 6d 20 6f 66 20 | = last |item of |
|000025b0| 74 68 65 4c 69 73 74 20 | 6f 72 20 c2 0d 22 2c 22 |theList |or ..","|
|000025c0| 20 26 20 74 68 65 49 74 | 65 6d 20 26 20 22 2c 22 | & theIt|em & ","|
|000025d0| 20 69 73 20 69 6e 20 74 | 68 65 4c 69 73 74 0d 74 | is in t|heList.t|
|000025e0| 68 65 6e 20 72 65 74 75 | 72 6e 20 74 72 75 65 0d |hen retu|rn true.|
|000025f0| 65 6c 73 65 20 72 65 74 | 75 72 6e 20 66 61 6c 73 |else ret|urn fals|
|00002600| 65 0d 65 6e 64 20 6f 6e | 4c 69 73 74 0d 2d 2d 0d |e.end on|List.--.|
|00002610| 66 75 6e 63 74 69 6f 6e | 20 73 75 6d 20 6e 75 6d |function| sum num|
|00002620| 62 65 72 4c 69 73 74 0d | 2d 2d 20 72 65 74 75 72 |berList.|-- retur|
|00002630| 6e 73 20 73 75 6d 20 6f | 66 20 61 20 72 65 74 75 |ns sum o|f a retu|
|00002640| 72 6e 2d 64 65 6c 69 6d | 69 74 65 64 20 6e 75 6d |rn-delim|ited num|
|00002650| 62 65 72 20 6c 69 73 74 | 0d 70 75 74 20 30 20 69 |ber list|.put 0 i|
|00002660| 6e 74 6f 20 74 68 65 53 | 75 6d 0d 69 66 20 6e 75 |nto theS|um.if nu|
|00002670| 6d 62 65 72 4c 69 73 74 | 20 69 73 20 65 6d 70 74 |mberList| is empt|
|00002680| 79 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 74 68 |y then r|eturn th|
|00002690| 65 53 75 6d 0d 72 65 70 | 65 61 74 20 77 69 74 68 |eSum.rep|eat with|
|000026a0| 20 78 20 3d 20 31 20 74 | 6f 20 6e 75 6d 62 65 72 | x = 1 t|o number|
|000026b0| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 6e 75 6d | of line|s of num|
|000026c0| 62 65 72 4c 69 73 74 0d | 61 64 64 20 6c 69 6e 65 |berList.|add line|
|000026d0| 20 78 20 6f 66 20 6e 75 | 6d 62 65 72 6c 69 73 74 | x of nu|mberlist|
|000026e0| 20 74 6f 20 74 68 65 53 | 75 6d 0d 65 6e 64 20 72 | to theS|um.end r|
|000026f0| 65 70 65 61 74 0d 72 65 | 74 75 72 6e 20 74 68 65 |epeat.re|turn the|
|00002700| 53 75 6d 0d 65 6e 64 20 | 73 75 6d 0d 2d 2d 0d 66 |Sum.end |sum.--.f|
|00002710| 75 6e 63 74 69 6f 6e 20 | 6c 69 73 74 4d 69 73 73 |unction |listMiss|
|00002720| 69 6e 67 20 73 74 75 64 | 65 6e 74 4e 75 6d 0d 70 |ing stud|entNum.p|
|00002730| 75 74 20 62 6b 67 6e 64 | 20 66 6c 64 20 22 73 63 |ut bkgnd| fld "sc|
|00002740| 6f 72 65 20 64 61 74 61 | 22 20 6f 66 20 63 64 20 |ore data|" of cd |
|00002750| 73 74 75 64 65 6e 74 4e | 75 6d 20 6f 66 20 62 6b |studentN|um of bk|
|00002760| 67 6e 64 20 22 73 74 75 | 64 65 6e 74 20 63 61 72 |gnd "stu|dent car|
|00002770| 64 73 22 20 c2 0d 69 6e | 74 6f 20 73 63 6f 72 65 |ds" ..in|to score|
|00002780| 44 61 74 61 0d 70 75 74 | 20 65 78 74 72 61 63 74 |Data.put| extract|
|00002790| 49 74 65 6d 73 20 28 73 | 63 6f 72 65 44 61 74 61 |Items (s|coreData|
|000027a0| 2c 22 32 22 29 20 69 6e | 74 6f 20 74 68 65 53 63 |,"2") in|to theSc|
|000027b0| 6f 72 65 73 0d 70 75 74 | 20 73 65 61 72 63 68 20 |ores.put| search |
|000027c0| 28 74 68 65 53 63 6f 72 | 65 73 2c 22 4d 22 2c 22 |(theScor|es,"M","|
|000027d0| 74 72 75 65 22 2c 22 61 | 6c 6c 22 29 20 69 6e 74 |true","a|ll") int|
|000027e0| 6f 20 74 68 65 48 69 74 | 73 0d 69 66 20 74 68 65 |o theHit|s.if the|
|000027f0| 48 69 74 73 20 69 73 20 | 65 6d 70 74 79 20 74 68 |Hits is |empty th|
|00002800| 65 6e 20 72 65 74 75 72 | 6e 20 65 6d 70 74 79 0d |en retur|n empty.|
|00002810| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 20 3d 20 |repeat w|ith x = |
|00002820| 31 20 74 6f 20 6e 75 6d | 62 65 72 20 6f 66 20 6c |1 to num|ber of l|
|00002830| 69 6e 65 73 20 6f 66 20 | 74 68 65 48 69 74 73 0d |ines of |theHits.|
|00002840| 70 75 74 20 69 74 65 6d | 20 31 20 6f 66 20 6c 69 |put item| 1 of li|
|00002850| 6e 65 20 78 20 6f 66 20 | 74 68 65 48 69 74 73 20 |ne x of |theHits |
|00002860| 69 6e 74 6f 20 74 68 65 | 4c 69 6e 65 0d 70 75 74 |into the|Line.put|
|00002870| 20 69 74 65 6d 20 31 20 | 6f 66 20 6c 69 6e 65 20 | item 1 |of line |
|00002880| 74 68 65 4c 69 6e 65 20 | 6f 66 20 73 63 6f 72 65 |theLine |of score|
|00002890| 44 61 74 61 20 69 6e 74 | 6f 20 6c 69 6e 65 20 78 |Data int|o line x|
|000028a0| 20 6f 66 20 74 68 65 4c | 69 73 74 0d 65 6e 64 20 | of theL|ist.end |
|000028b0| 72 65 70 65 61 74 0d 72 | 65 74 75 72 6e 20 74 68 |repeat.r|eturn th|
|000028c0| 65 4c 69 73 74 0d 65 6e | 64 20 6c 69 73 74 4d 69 |eList.en|d listMi|
|000028d0| 73 73 69 6e 67 0d 2d 2d | 0d 6f 6e 20 64 6f 6e 65 |ssing.--|.on done|
|000028e0| 53 6f 75 6e 64 0d 2d 2d | 20 61 63 74 69 6f 6e 20 |Sound.--| action |
|000028f0| 63 6f 6d 70 6c 65 74 65 | 64 20 73 6f 75 6e 64 0d |complete|d sound.|
|00002900| 70 6c 61 79 20 22 62 6c | 65 65 70 22 0d 65 6e 64 |play "bl|eep".end|
|00002910| 20 64 6f 6e 65 53 6f 75 | 6e 64 0d 2d 2d 0d 6f 6e | doneSou|nd.--.on|
|00002920| 20 64 6f 50 72 6f 6d 70 | 74 20 74 68 65 4d 65 73 | doPromp|t theMes|
|00002930| 73 61 67 65 2c 74 68 65 | 57 69 64 74 68 0d 2d 2d |sage,the|Width.--|
|00002940| 20 6c 65 74 20 75 73 65 | 72 20 6b 6e 6f 77 20 77 | let use|r know w|
|00002950| 65 27 72 65 20 64 6f 69 | 6e 67 20 73 6f 6d 65 74 |e're doi|ng somet|
|00002960| 68 69 6e 67 0d 69 66 20 | 74 68 65 4d 65 73 73 61 |hing.if |theMessa|
|00002970| 67 65 20 69 73 20 22 6f | 66 66 22 20 74 68 65 6e |ge is "o|ff" then|
|00002980| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00002990| 69 6e 64 6f 77 20 22 70 | 72 6f 6d 70 74 6f 69 64 |indow "p|romptoid|
|000029a0| 22 20 74 68 65 6e 0d 63 | 6c 6f 73 65 20 77 69 6e |" then.c|lose win|
|000029b0| 64 6f 77 20 22 70 72 6f | 6d 70 74 6f 69 64 22 0d |dow "pro|mptoid".|
|000029c0| 65 78 69 74 20 64 6f 50 | 72 6f 6d 70 74 0d 65 6e |exit doP|rompt.en|
|000029d0| 64 20 69 66 0d 65 6c 73 | 65 20 69 66 20 74 68 65 |d if.els|e if the|
|000029e0| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 22 |re is a |window "|
|000029f0| 70 72 6f 6d 70 74 6f 69 | 64 22 20 74 68 65 6e 0d |promptoi|d" then.|
|00002a00| 73 65 74 20 74 65 78 74 | 20 6f 66 20 77 69 6e 64 |set text| of wind|
|00002a10| 6f 77 20 22 70 72 6f 6d | 70 74 6f 69 64 22 20 74 |ow "prom|ptoid" t|
|00002a20| 6f 20 74 68 65 4d 65 73 | 73 61 67 65 0d 65 6c 73 |o theMes|sage.els|
|00002a30| 65 20 69 66 20 74 68 65 | 57 69 64 74 68 20 69 73 |e if the|Width is|
|00002a40| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 70 72 6f 6d | empty t|hen prom|
|00002a50| 70 74 6f 69 64 20 74 68 | 65 4d 65 73 73 61 67 65 |ptoid th|eMessage|
|00002a60| 2c 22 62 65 61 6e 69 65 | 20 63 6f 70 74 65 72 22 |,"beanie| copter"|
|00002a70| 2c 22 33 30 33 22 0d 65 | 6c 73 65 20 70 72 6f 6d |,"303".e|lse prom|
|00002a80| 70 74 6f 69 64 20 74 68 | 65 4d 65 73 73 61 67 65 |ptoid th|eMessage|
|00002a90| 2c 20 22 62 65 61 6e 69 | 65 20 63 6f 70 74 65 72 |, "beani|e copter|
|00002aa0| 22 2c 22 33 30 33 22 2c | 74 68 65 57 69 64 74 68 |","303",|theWidth|
|00002ab0| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00002ac0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00002ad0| 20 70 75 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d | put the| result.|
|00002ae0| 65 6e 64 20 64 6f 50 72 | 6f 6d 70 74 0d 2d 2d 0d |end doPr|ompt.--.|
|00002af0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 68 |--------|------ h|
|00002b00| 65 6c 70 20 20 26 20 68 | 6f 6d 65 20 62 75 74 74 |elp & h|ome butt|
|00002b10| 6f 6e 20 68 61 6e 64 6c | 65 72 73 20 20 2d 2d 2d |on handl|ers ---|
|00002b20| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 2d 2d 0d 6f 6e 20 62 |--------|.--.on b|
|00002b30| 75 74 74 6f 6e 48 65 6c | 70 0d 2d 2d 20 68 61 6e |uttonHel|p.-- han|
|00002b40| 64 6c 65 72 20 66 6f 72 | 20 61 6c 6c 20 68 65 6c |dler for| all hel|
|00002b50| 70 20 62 75 74 74 6f 6e | 73 0d 73 65 74 20 63 75 |p button|s.set cu|
|00002b60| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 6c 6f |rsor to |watch.lo|
|00002b70| 63 6b 20 73 63 72 65 65 | 6e 0d 69 66 20 74 68 65 |ck scree|n.if the|
|00002b80| 72 65 20 69 73 20 61 20 | 63 64 20 66 6c 64 20 22 |re is a |cd fld "|
|00002b90| 68 65 6c 70 22 20 74 68 | 65 6e 20 70 75 74 20 74 |help" th|en put t|
|00002ba0| 72 75 65 20 69 6e 74 6f | 20 63 64 48 65 6c 70 0d |rue into| cdHelp.|
|00002bb0| 65 6c 73 65 20 70 75 74 | 20 66 61 6c 73 65 20 69 |else put| false i|
|00002bc0| 6e 74 6f 20 63 64 48 65 | 6c 70 0d 2d 2d 0d 70 75 |nto cdHe|lp.--.pu|
|00002bd0| 74 20 6e 6f 74 20 74 68 | 65 20 68 69 6c 69 74 65 |t not th|e hilite|
|00002be0| 20 6f 66 20 74 68 65 20 | 74 61 72 67 65 74 20 69 | of the |target i|
|00002bf0| 6e 74 6f 20 63 68 61 6e | 67 65 54 6f 0d 73 65 74 |nto chan|geTo.set|
|00002c00| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 74 | the hil|ite of t|
|00002c10| 68 65 20 74 61 72 67 65 | 74 20 74 6f 20 63 68 61 |he targe|t to cha|
|00002c20| 6e 67 65 54 6f 0d 69 66 | 20 63 64 48 65 6c 70 20 |ngeTo.if| cdHelp |
|00002c30| 74 68 65 6e 0d 73 65 74 | 20 74 68 65 20 76 69 73 |then.set| the vis|
|00002c40| 69 62 6c 65 20 6f 66 20 | 63 64 20 66 6c 64 20 22 |ible of |cd fld "|
|00002c50| 68 65 6c 70 22 20 74 6f | 20 63 68 61 6e 67 65 54 |help" to| changeT|
|00002c60| 6f 0d 73 65 74 20 74 68 | 65 20 73 63 72 6f 6c 6c |o.set th|e scroll|
|00002c70| 20 6f 66 20 63 64 20 66 | 6c 64 20 22 68 65 6c 70 | of cd f|ld "help|
|00002c80| 22 20 74 6f 20 30 0d 65 | 6c 73 65 0d 73 65 74 20 |" to 0.e|lse.set |
|00002c90| 74 68 65 20 76 69 73 69 | 62 6c 65 20 6f 66 20 62 |the visi|ble of b|
|00002ca0| 6b 67 6e 64 20 66 6c 64 | 20 22 68 65 6c 70 22 20 |kgnd fld| "help" |
|00002cb0| 74 6f 20 63 68 61 6e 67 | 65 54 6f 0d 73 65 74 20 |to chang|eTo.set |
|00002cc0| 74 68 65 20 73 63 72 6f | 6c 6c 20 6f 66 20 62 6b |the scro|ll of bk|
|00002cd0| 67 6e 64 20 66 6c 64 20 | 22 68 65 6c 70 22 20 74 |gnd fld |"help" t|
|00002ce0| 6f 20 30 0d 65 6e 64 20 | 69 66 0d 69 66 20 63 68 |o 0.end |if.if ch|
|00002cf0| 61 6e 67 65 54 6f 20 69 | 73 20 74 72 75 65 0d 74 |angeTo i|s true.t|
|00002d00| 68 65 6e 20 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |hen unlo|ck scree|
|00002d10| 6e 20 77 69 74 68 20 76 | 69 73 75 61 6c 20 65 66 |n with v|isual ef|
|00002d20| 66 65 63 74 20 7a 6f 6f | 6d 20 6f 70 65 6e 0d 65 |fect zoo|m open.e|
|00002d30| 6c 73 65 20 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |lse unlo|ck scree|
|00002d40| 6e 20 77 69 74 68 20 76 | 69 73 75 61 6c 20 65 66 |n with v|isual ef|
|00002d50| 66 65 63 74 20 7a 6f 6f | 6d 20 63 6c 6f 73 65 0d |fect zoo|m close.|
|00002d60| 65 6e 64 20 62 75 74 74 | 6f 6e 48 65 6c 70 0d 2d |end butt|onHelp.-|
|00002d70| 2d 0d 6f 6e 20 68 6f 6d | 65 42 75 74 74 6f 6e 0d |-.on hom|eButton.|
|00002d80| 69 66 20 74 68 65 20 6f | 70 74 69 6f 6e 4b 65 79 |if the o|ptionKey|
|00002d90| 20 69 73 20 6e 6f 74 20 | 22 64 6f 77 6e 22 20 74 | is not |"down" t|
|00002da0| 68 65 6e 0d 62 65 65 70 | 20 31 0d 61 6e 73 77 65 |hen.beep| 1.answe|
|00002db0| 72 20 22 47 6f 20 74 6f | 20 74 68 65 20 48 6f 6d |r "Go to| the Hom|
|00002dc0| 65 20 53 74 61 63 6b 3f | 22 20 77 69 74 68 20 22 |e Stack?|" with "|
|00002dd0| 43 61 6e 63 65 6c 22 20 | 6f 72 20 22 4f 4b 22 0d |Cancel" |or "OK".|
|00002de0| 69 66 20 69 74 20 69 73 | 20 63 61 6e 63 65 6c 20 |if it is| cancel |
|00002df0| 74 68 65 6e 20 65 78 69 | 74 20 68 6f 6d 65 42 75 |then exi|t homeBu|
|00002e00| 74 74 6f 6e 0d 65 6e 64 | 20 69 66 0d 67 6f 20 68 |tton.end| if.go h|
|00002e10| 6f 6d 65 20 69 6e 20 61 | 20 6e 65 77 20 77 69 6e |ome in a| new win|
|00002e20| 64 6f 77 0d 65 6e 64 20 | 68 6f 6d 65 42 75 74 74 |dow.end |homeButt|
|00002e30| 6f 6e 0d 2d 2d 0d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |on.--.--|--------|
|00002e40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 6b 65 79 62 6f 61 |--------|- keyboa|
|00002e50| 72 64 20 69 6e 70 75 74 | 20 68 61 6e 64 6c 65 72 |rd input| handler|
|00002e60| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d | -------|-------.|
|00002e70| 2d 2d 0d 66 75 6e 63 74 | 69 6f 6e 20 67 72 61 64 |--.funct|ion grad|
|00002e80| 65 49 6e 70 75 74 20 74 | 68 65 4c 65 74 74 65 72 |eInput t|heLetter|
|00002e90| 2c 70 6f 69 6e 74 56 61 | 6c 75 65 0d 2d 2d 20 61 |,pointVa|lue.-- a|
|00002ea0| 6c 74 65 72 20 6b 65 79 | 62 6f 61 72 64 20 62 65 |lter key|board be|
|00002eb0| 68 61 76 69 6f 72 2c 20 | 64 65 70 65 6e 64 69 6e |havior, |dependin|
|00002ec0| 67 20 6f 6e 20 74 68 65 | 20 74 79 70 65 0d 2d 2d |g on the| type.--|
|00002ed0| 20 6f 66 20 67 72 61 64 | 65 20 62 65 69 6e 67 20 | of grad|e being |
|00002ee0| 65 6e 74 65 72 65 64 0d | 2d 2d 20 75 73 65 64 20 |entered.|-- used |
|00002ef0| 77 68 65 6e 20 65 6e 74 | 65 72 69 6e 67 20 73 63 |when ent|ering sc|
|00002f00| 6f 72 65 73 20 28 62 6b | 67 6e 64 20 22 6d 61 6b |ores (bk|gnd "mak|
|00002f10| 65 20 65 6e 74 72 79 22 | 29 0d 2d 2d 20 61 6e 64 |e entry"|).-- and|
|00002f20| 20 63 68 61 6e 67 69 6e | 67 20 73 63 6f 72 65 73 | changin|g scores|
|00002f30| 20 28 62 6b 67 6e 64 20 | 22 73 74 75 64 65 6e 74 | (bkgnd |"student|
|00002f40| 20 63 61 72 64 73 22 29 | 0d 69 66 20 70 6f 69 6e | cards")|.if poin|
|00002f50| 74 56 61 6c 75 65 20 69 | 73 20 61 20 6e 75 6d 62 |tValue i|s a numb|
|00002f60| 65 72 20 61 6e 64 20 74 | 68 65 4c 65 74 74 65 72 |er and t|heLetter|
|00002f70| 20 69 73 20 61 20 6e 75 | 6d 62 65 72 0d 74 68 65 | is a nu|mber.the|
|00002f80| 6e 20 72 65 74 75 72 6e | 20 74 68 65 4c 65 74 74 |n return| theLett|
|00002f90| 65 72 0d 65 6c 73 65 0d | 70 75 74 20 74 68 65 20 |er.else.|put the |
|00002fa0| 63 68 61 72 54 6f 4e 75 | 6d 20 6f 66 20 74 68 65 |charToNu|m of the|
|00002fb0| 4c 65 74 74 65 72 20 69 | 6e 74 6f 20 63 68 61 72 |Letter i|nto char|
|00002fc0| 4e 75 6d 0d 69 66 20 63 | 68 61 72 4e 75 6d 20 3e |Num.if c|harNum >|
|00002fd0| 20 39 36 20 61 6e 64 20 | 63 68 61 72 4e 75 6d 20 | 96 and |charNum |
|00002fe0| 3c 20 31 32 33 20 74 68 | 65 6e 20 72 65 74 75 72 |< 123 th|en retur|
|00002ff0| 6e 20 6e 75 6d 54 6f 43 | 68 61 72 20 28 63 68 61 |n numToC|har (cha|
|00003000| 72 4e 75 6d 20 2d 20 33 | 32 29 0d 65 6c 73 65 20 |rNum - 3|2).else |
|00003010| 69 66 20 74 68 65 4c 65 | 74 74 65 72 20 3d 20 22 |if theLe|tter = "|
|00003020| 2a 22 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 22 |*" then |return "|
|00003030| c3 22 20 2d 2d 20 75 73 | 65 20 2a 20 6b 65 79 20 |." -- us|e * key |
|00003040| 6f 6e 20 6b 65 79 70 61 | 64 0d 65 6c 73 65 20 69 |on keypa|d.else i|
|00003050| 66 20 74 68 65 4c 65 74 | 74 65 72 20 3d 20 22 3d |f theLet|ter = "=|
|00003060| 22 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 22 2b |" then r|eturn "+|
|00003070| 22 0d 65 6c 73 65 20 69 | 66 20 74 68 65 4c 65 74 |".else i|f theLet|
|00003080| 74 65 72 20 3d 20 22 5b | 22 20 74 68 65 6e 20 72 |ter = "[|" then r|
|00003090| 65 74 75 72 6e 20 22 c3 | 22 20 2d 2d 20 75 73 65 |eturn ".|" -- use|
|000030a0| 20 5b 20 6b 65 79 20 69 | 66 20 6e 6f 20 6b 65 79 | [ key i|f no key|
|000030b0| 70 61 64 0d 65 6c 73 65 | 20 69 66 20 74 68 65 4c |pad.else| if theL|
|000030c0| 65 74 74 65 72 20 3e 20 | 22 30 22 20 61 6e 64 20 |etter > |"0" and |
|000030d0| 74 68 65 4c 65 74 74 65 | 72 20 3c 20 22 36 22 0d |theLette|r < "6".|
|000030e0| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 6e 75 6d 54 |then ret|urn numT|
|000030f0| 6f 43 68 61 72 20 28 63 | 68 61 72 4e 75 6d 20 2b |oChar (c|harNum +|
|00003100| 20 31 36 29 0d 65 6c 73 | 65 20 72 65 74 75 72 6e | 16).els|e return|
|00003110| 20 74 68 65 4c 65 74 74 | 65 72 0d 65 6e 64 20 69 | theLett|er.end i|
|00003120| 66 0d 65 6e 64 20 67 72 | 61 64 65 49 6e 70 75 74 |f.end gr|adeInput|
|00003130| 0d 2d 2d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.--.----|--------|
|00003140| 2d 2d 20 63 6f 6e 76 65 | 72 73 69 6f 6e 20 68 61 |-- conve|rsion ha|
|00003150| 6e 64 6c 65 72 73 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ndlers -|--------|
|00003160| 2d 2d 2d 0d 2d 2d 0d 66 | 75 6e 63 74 69 6f 6e 20 |---.--.f|unction |
|00003170| 63 6f 6e 76 65 72 74 54 | 6f 50 65 72 63 65 6e 74 |convertT|oPercent|
|00003180| 20 73 63 6f 72 65 2c 6c | 65 74 74 65 72 73 4f 52 | score,l|ettersOR|
|00003190| 70 6f 69 6e 74 73 2c 6c | 65 74 74 65 72 56 61 6c |points,l|etterVal|
|000031a0| 75 65 73 0d 2d 2d 20 72 | 65 74 75 72 6e 73 20 74 |ues.-- r|eturns t|
|000031b0| 68 65 20 70 65 72 63 65 | 6e 74 61 67 65 20 76 61 |he perce|ntage va|
|000031c0| 6c 75 65 20 6f 66 20 61 | 20 73 63 6f 72 65 0d 2d |lue of a| score.-|
|000031d0| 2d 20 69 66 20 61 20 6c | 65 74 74 65 72 20 73 63 |- if a l|etter sc|
|000031e0| 6f 72 65 2c 20 6c 6f 6f | 6b 20 75 70 20 74 68 65 |ore, loo|k up the|
|000031f0| 20 70 65 72 63 65 6e 74 | 61 67 65 20 76 61 6c 75 | percent|age valu|
|00003200| 65 0d 2d 2d 20 6f 74 68 | 65 72 77 69 73 65 20 63 |e.-- oth|erwise c|
|00003210| 61 6c 63 75 6c 61 74 65 | 20 74 68 65 20 70 65 72 |alculate| the per|
|00003220| 63 65 6e 74 61 67 65 0d | 2d 2d 20 75 73 65 64 20 |centage.|-- used |
|00003230| 77 68 65 6e 20 70 6f 73 | 74 69 6e 67 20 73 63 6f |when pos|ting sco|
|00003240| 72 65 73 20 28 62 6b 67 | 6e 64 20 22 6d 61 6b 65 |res (bkg|nd "make|
|00003250| 20 65 6e 74 72 79 22 29 | 0d 2d 2d 20 61 6e 64 20 | entry")|.-- and |
|00003260| 77 68 65 6e 20 63 68 61 | 6e 67 69 6e 67 20 73 63 |when cha|nging sc|
|00003270| 6f 72 65 73 20 28 62 6b | 67 6e 64 20 22 73 74 75 |ores (bk|gnd "stu|
|00003280| 64 65 6e 74 20 63 61 72 | 64 73 22 29 0d 73 65 74 |dent car|ds").set|
|00003290| 20 74 68 65 20 6e 75 6d | 62 65 72 66 6f 72 6d 61 | the num|berforma|
|000032a0| 74 20 74 6f 20 22 30 2e | 23 22 0d 69 66 20 73 63 |t to "0.|#".if sc|
|000032b0| 6f 72 65 20 3d 20 22 4d | 22 20 6f 72 20 73 63 6f |ore = "M|" or sco|
|000032c0| 72 65 20 3d 20 30 20 6f | 72 20 73 63 6f 72 65 20 |re = 0 o|r score |
|000032d0| 69 73 20 65 6d 70 74 79 | 0d 74 68 65 6e 20 70 75 |is empty|.then pu|
|000032e0| 74 20 22 30 22 20 69 6e | 74 6f 20 74 68 65 41 6e |t "0" in|to theAn|
|000032f0| 73 77 65 72 0d 65 6c 73 | 65 20 69 66 20 73 63 6f |swer.els|e if sco|
|00003300| 72 65 20 3d 20 22 58 22 | 20 74 68 65 6e 20 70 75 |re = "X"| then pu|
|00003310| 74 20 22 2a 22 20 69 6e | 74 6f 20 74 68 65 41 6e |t "*" in|to theAn|
|00003320| 73 77 65 72 0d 65 6c 73 | 65 20 69 66 20 73 63 6f |swer.els|e if sco|
|00003330| 72 65 20 69 73 20 6e 6f | 74 20 61 20 6e 75 6d 62 |re is no|t a numb|
|00003340| 65 72 20 74 68 65 6e 0d | 70 75 74 20 6c 69 6e 65 |er then.|put line|
|00003350| 20 74 65 78 74 54 6f 4c | 69 6e 65 4e 75 6d 20 28 | textToL|ineNum (|
|00003360| 73 63 6f 72 65 2c 6c 65 | 74 74 65 72 73 4f 52 70 |score,le|ttersORp|
|00003370| 6f 69 6e 74 73 29 20 6f | 66 20 6c 65 74 74 65 72 |oints) o|f letter|
|00003380| 56 61 6c 75 65 73 20 c2 | 0d 69 6e 74 6f 20 74 68 |Values .|.into th|
|00003390| 65 41 6e 73 77 65 72 0d | 65 6c 73 65 20 69 66 20 |eAnswer.|else if |
|000033a0| 73 63 6f 72 65 20 ad 20 | 30 20 74 68 65 6e 0d 70 |score . |0 then.p|
|000033b0| 75 74 20 28 73 63 6f 72 | 65 20 2f 20 6c 65 74 74 |ut (scor|e / lett|
|000033c0| 65 72 73 4f 52 70 6f 69 | 6e 74 73 29 20 2a 20 31 |ersORpoi|nts) * 1|
|000033d0| 30 30 20 69 6e 74 6f 20 | 74 68 65 41 6e 73 77 65 |00 into |theAnswe|
|000033e0| 72 0d 65 6c 73 65 20 70 | 75 74 20 22 30 22 20 69 |r.else p|ut "0" i|
|000033f0| 6e 74 6f 20 74 68 65 41 | 6e 73 77 65 72 0d 72 65 |nto theA|nswer.re|
|00003400| 74 75 72 6e 20 74 68 65 | 41 6e 73 77 65 72 0d 65 |turn the|Answer.e|
|00003410| 6e 64 20 63 6f 6e 76 65 | 72 74 54 6f 50 65 72 63 |nd conve|rtToPerc|
|00003420| 65 6e 74 0d 2d 2d 0d 66 | 75 6e 63 74 69 6f 6e 20 |ent.--.f|unction |
|00003430| 63 6f 6e 76 65 72 74 54 | 6f 4c 65 74 74 65 72 20 |convertT|oLetter |
|00003440| 70 65 72 63 65 6e 74 61 | 67 65 2c 6c 65 74 74 65 |percenta|ge,lette|
|00003450| 72 73 2c 6c 65 74 74 65 | 72 52 61 6e 67 65 73 0d |rs,lette|rRanges.|
|00003460| 2d 2d 20 61 73 73 69 67 | 6e 20 61 20 6c 65 74 74 |-- assig|n a lett|
|00003470| 65 72 20 67 72 61 64 65 | 20 74 6f 20 61 20 70 65 |er grade| to a pe|
|00003480| 72 63 65 6e 74 61 67 65 | 0d 69 66 20 70 65 72 63 |rcentage|.if perc|
|00003490| 65 6e 74 61 67 65 20 3d | 20 22 2a 22 20 74 68 65 |entage =| "*" the|
|000034a0| 6e 20 70 75 74 20 30 20 | 69 6e 74 6f 20 70 65 72 |n put 0 |into per|
|000034b0| 63 65 6e 74 61 67 65 0d | 72 65 70 65 61 74 20 77 |centage.|repeat w|
|000034c0| 69 74 68 20 78 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith x = |1 to num|
|000034d0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of |
|000034e0| 6c 65 74 74 65 72 52 61 | 6e 67 65 73 0d 70 75 74 |letterRa|nges.put|
|000034f0| 20 6c 69 6e 65 20 78 20 | 6f 66 20 6c 65 74 74 65 | line x |of lette|
|00003500| 72 52 61 6e 67 65 73 20 | 69 6e 74 6f 20 6c 69 6e |rRanges |into lin|
|00003510| 65 56 61 6c 75 65 0d 69 | 66 20 6c 69 6e 65 56 61 |eValue.i|f lineVa|
|00003520| 6c 75 65 20 69 73 20 65 | 6d 70 74 79 20 6f 72 20 |lue is e|mpty or |
|00003530| 6c 69 6e 65 76 61 6c 75 | 65 20 69 73 20 6e 6f 74 |linevalu|e is not|
|00003540| 20 61 20 6e 75 6d 62 65 | 72 0d 74 68 65 6e 20 6e | a numbe|r.then n|
|00003550| 65 78 74 20 72 65 70 65 | 61 74 0d 65 6c 73 65 20 |ext repe|at.else |
|00003560| 69 66 20 70 65 72 63 65 | 6e 74 61 67 65 20 b3 20 |if perce|ntage . |
|00003570| 6c 69 6e 65 20 78 20 6f | 66 20 6c 65 74 74 65 72 |line x o|f letter|
|00003580| 52 61 6e 67 65 73 20 74 | 68 65 6e 0d 67 65 74 20 |Ranges t|hen.get |
|00003590| 6c 69 6e 65 20 78 20 6f | 66 20 6c 65 74 74 65 72 |line x o|f letter|
|000035a0| 73 0d 69 66 20 74 68 65 | 20 6c 65 6e 67 74 68 20 |s.if the| length |
|000035b0| 6f 66 20 69 74 20 69 73 | 20 31 20 74 68 65 6e 20 |of it is| 1 then |
|000035c0| 72 65 74 75 72 6e 20 22 | 28 22 20 26 20 69 74 20 |return "|(" & it |
|000035d0| 26 20 22 20 29 22 0d 65 | 6c 73 65 20 72 65 74 75 |& " )".e|lse retu|
|000035e0| 72 6e 20 22 28 22 20 26 | 20 69 74 20 26 20 22 29 |rn "(" &| it & ")|
|000035f0| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |".end if|.end rep|
|00003600| 65 61 74 0d 72 65 74 75 | 72 6e 20 65 6d 70 74 79 |eat.retu|rn empty|
|00003610| 0d 65 6e 64 20 63 6f 6e | 76 65 72 74 54 6f 4c 65 |.end con|vertToLe|
|00003620| 74 74 65 72 0d 2d 2d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |tter.--.|--------|
|00003630| 2d 2d 2d 2d 20 63 68 65 | 63 6b 69 6e 67 20 68 61 |---- che|cking ha|
|00003640| 6e 64 6c 65 72 73 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ndlers -|--------|
|00003650| 2d 2d 2d 2d 0d 2d 2d 0d | 66 75 6e 63 74 69 6f 6e |----.--.|function|
|00003660| 20 63 68 65 63 6b 57 68 | 6f 6c 65 4e 75 6d 20 74 | checkWh|oleNum t|
|00003670| 68 65 4e 75 6d 62 65 72 | 0d 2d 2d 20 63 68 65 63 |heNumber|.-- chec|
|00003680| 6b 20 69 6e 70 75 74 20 | 74 6f 20 6d 61 6b 65 20 |k input |to make |
|00003690| 73 75 72 65 20 69 74 20 | 69 73 0d 2d 2d 20 61 20 |sure it |is.-- a |
|000036a0| 77 68 6f 6c 65 20 6e 75 | 6d 62 65 72 20 b3 20 30 |whole nu|mber . 0|
|000036b0| 0d 69 66 20 74 68 65 4e | 75 6d 62 65 72 20 69 73 |.if theN|umber is|
|000036c0| 20 6e 6f 74 20 61 20 6e | 75 6d 62 65 72 20 74 68 | not a n|umber th|
|000036d0| 65 6e 0d 70 6c 61 79 20 | 22 62 6f 69 6e 67 22 0d |en.play |"boing".|
|000036e0| 61 6e 73 77 65 72 20 22 | 45 78 70 65 63 74 65 64 |answer "|Expected|
|000036f0| 20 61 20 6e 75 6d 62 65 | 72 20 68 65 72 65 2e 22 | a numbe|r here."|
|00003700| 0d 72 65 74 75 72 6e 20 | 22 65 72 72 6f 72 2e 22 |.return |"error."|
|00003710| 0d 65 6c 73 65 20 69 66 | 20 74 68 65 4e 75 6d 62 |.else if| theNumb|
|00003720| 65 72 20 3c 20 30 20 6f | 72 20 c2 0d 74 68 65 20 |er < 0 o|r ..the |
|00003730| 74 72 75 6e 63 20 6f 66 | 20 74 68 65 4e 75 6d 62 |trunc of| theNumb|
|00003740| 65 72 20 ad 20 74 68 65 | 4e 75 6d 62 65 72 20 74 |er . the|Number t|
|00003750| 68 65 6e 0d 70 6c 61 79 | 20 22 42 6f 69 6e 67 22 |hen.play| "Boing"|
|00003760| 0d 61 6e 73 77 65 72 20 | 22 45 78 70 65 63 74 65 |.answer |"Expecte|
|00003770| 64 20 61 20 77 68 6f 6c | 65 20 6e 75 6d 62 65 72 |d a whol|e number|
|00003780| 20 b3 20 30 20 68 65 72 | 65 2e 22 0d 72 65 74 75 | . 0 her|e.".retu|
|00003790| 72 6e 20 22 45 72 72 6f | 72 2e 22 0d 65 6c 73 65 |rn "Erro|r.".else|
|000037a0| 20 72 65 74 75 72 6e 20 | 65 6d 70 74 79 0d 65 6e | return |empty.en|
|000037b0| 64 20 63 68 65 63 6b 57 | 68 6f 6c 65 4e 75 6d 0d |d checkW|holeNum.|
|000037c0| 2d 2d 0d 66 75 6e 63 74 | 69 6f 6e 20 63 68 65 63 |--.funct|ion chec|
|000037d0| 6b 44 61 74 65 20 74 68 | 65 44 61 74 65 0d 69 66 |kDate th|eDate.if|
|000037e0| 20 74 68 65 44 61 74 65 | 20 69 73 20 6e 6f 74 20 | theDate| is not |
|000037f0| 61 20 64 61 74 65 20 74 | 68 65 6e 0d 70 6c 61 79 |a date t|hen.play|
|00003800| 20 22 62 6f 69 6e 67 22 | 0d 61 6e 73 77 65 72 20 | "boing"|.answer |
|00003810| 22 45 78 70 65 63 74 65 | 64 20 61 20 64 61 74 65 |"Expecte|d a date|
|00003820| 20 68 65 72 65 2e 20 28 | 6d 6d 2f 64 64 2f 79 79 | here. (|mm/dd/yy|
|00003830| 29 22 0d 72 65 74 75 72 | 6e 20 22 62 61 64 20 64 |)".retur|n "bad d|
|00003840| 61 74 65 2e 22 0d 65 6c | 73 65 20 72 65 74 75 72 |ate.".el|se retur|
|00003850| 6e 20 65 6d 70 74 79 0d | 65 6e 64 20 63 68 65 63 |n empty.|end chec|
|00003860| 6b 44 61 74 65 0d 2d 2d | 0d 66 75 6e 63 74 69 6f |kDate.--|.functio|
|00003870| 6e 20 63 68 65 63 6b 46 | 6f 72 54 68 69 73 53 74 |n checkF|orThisSt|
|00003880| 75 64 65 6e 74 20 6e 65 | 77 4e 61 6d 65 0d 2d 2d |udent ne|wName.--|
|00003890| 20 63 68 65 63 6b 20 74 | 6f 20 73 65 65 20 69 66 | check t|o see if|
|000038a0| 20 73 74 75 64 65 6e 74 | 20 69 73 20 61 6c 72 65 | student| is alre|
|000038b0| 61 64 79 20 69 6e 20 74 | 68 65 20 73 74 61 63 6b |ady in t|he stack|
|000038c0| 0d 2d 2d 0d 69 66 20 74 | 65 78 74 54 6f 4c 69 6e |.--.if t|extToLin|
|000038d0| 65 4e 75 6d 20 28 6e 65 | 77 4e 61 6d 65 2c 63 64 |eNum (ne|wName,cd|
|000038e0| 20 66 6c 64 20 22 6e 61 | 6d 65 73 22 20 6f 66 20 | fld "na|mes" of |
|000038f0| 63 64 20 22 52 6f 73 74 | 65 72 22 29 20 ad 20 30 |cd "Rost|er") . 0|
|00003900| 20 74 68 65 6e 0d 70 6c | 61 79 20 22 62 6f 69 6e | then.pl|ay "boin|
|00003910| 67 22 0d 61 6e 73 77 65 | 72 20 22 41 6c 72 65 61 |g".answe|r "Alrea|
|00003920| 64 79 20 68 61 76 65 20 | 61 20 73 74 75 64 65 6e |dy have |a studen|
|00003930| 74 20 77 69 74 68 20 74 | 68 69 73 20 6e 61 6d 65 |t with t|his name|
|00003940| 2e 22 0d 72 65 74 75 72 | 6e 20 22 61 6c 72 65 61 |.".retur|n "alrea|
|00003950| 64 79 20 74 68 65 72 65 | 2e 22 0d 65 6c 73 65 20 |dy there|.".else |
|00003960| 72 65 74 75 72 6e 20 65 | 6d 70 74 79 0d 65 6e 64 |return e|mpty.end|
|00003970| 20 63 68 65 63 6b 46 6f | 72 54 68 69 73 53 74 75 | checkFo|rThisStu|
|00003980| 64 65 6e 74 0d 2d 2d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |dent.--.|--------|
|00003990| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 20 75 70 |--------|----- up|
|000039a0| 64 61 74 65 20 68 61 6e | 64 6c 65 72 73 20 2d 2d |date han|dlers --|
|000039b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000039c0| 2d 2d 0d 2d 2d 0d 6f 6e | 20 75 70 64 61 74 65 4d |--.--.on| updateM|
|000039d0| 45 53 74 75 64 65 6e 74 | 73 0d 2d 2d 20 75 70 64 |EStudent|s.-- upd|
|000039e0| 61 74 65 20 62 6b 67 6e | 64 20 22 6d 61 6b 65 20 |ate bkgn|d "make |
|000039f0| 65 6e 74 72 79 22 20 77 | 68 65 6e 20 73 74 75 64 |entry" w|hen stud|
|00003a00| 65 6e 74 73 20 61 72 65 | 20 61 64 64 65 64 2f 64 |ents are| added/d|
|00003a10| 65 6c 65 74 65 64 2f 63 | 68 61 6e 67 65 64 0d 70 |eleted/c|hanged.p|
|00003a20| 75 74 20 63 64 20 66 6c | 64 20 22 6e 61 6d 65 73 |ut cd fl|d "names|
|00003a30| 22 20 6f 66 20 63 64 20 | 22 52 6f 73 74 65 72 22 |" of cd |"Roster"|
|00003a40| 20 69 6e 74 6f 20 74 68 | 65 4e 61 6d 65 73 0d 70 | into th|eNames.p|
|00003a50| 75 74 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |ut numbe|r of lin|
|00003a60| 65 73 20 6f 66 20 74 68 | 65 4e 61 6d 65 73 20 69 |es of th|eNames i|
|00003a70| 6e 74 6f 20 6e 75 6d 4e | 61 6d 65 73 0d 70 75 74 |nto numN|ames.put|
|00003a80| 20 31 36 20 69 6e 74 6f | 20 66 69 65 6c 64 43 68 | 16 into| fieldCh|
|00003a90| 75 6e 6b 20 2d 2d 20 23 | 20 6c 69 6e 65 73 20 66 |unk -- #| lines f|
|00003aa0| 6f 72 20 65 61 63 68 20 | 66 69 65 6c 64 0d 72 65 |or each |field.re|
|00003ab0| 70 65 61 74 20 77 69 74 | 68 20 78 20 3d 20 31 20 |peat wit|h x = 1 |
|00003ac0| 74 6f 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 61 72 |to numbe|r of car|
|00003ad0| 64 73 20 6f 66 20 62 6b | 67 6e 64 20 22 6d 61 6b |ds of bk|gnd "mak|
|00003ae0| 65 20 65 6e 74 72 79 22 | 0d 70 75 74 20 28 66 69 |e entry"|.put (fi|
|00003af0| 65 6c 64 43 68 75 6e 6b | 20 2a 20 33 29 20 2a 20 |eldChunk| * 3) * |
|00003b00| 28 78 2d 31 29 20 69 6e | 74 6f 20 63 61 72 64 43 |(x-1) in|to cardC|
|00003b10| 68 75 6e 6b 0d 72 65 70 | 65 61 74 20 77 69 74 68 |hunk.rep|eat with|
|00003b20| 20 79 20 3d 20 31 20 74 | 6f 20 33 0d 69 66 20 63 | y = 1 t|o 3.if c|
|00003b30| 61 72 64 43 68 75 6e 6b | 20 3e 20 6e 75 6d 4e 61 |ardChunk| > numNa|
|00003b40| 6d 65 73 20 74 68 65 6e | 20 70 75 74 20 65 6d 70 |mes then| put emp|
|00003b50| 74 79 20 69 6e 74 6f 20 | 74 68 65 43 6f 6c 75 6d |ty into |theColum|
|00003b60| 6e 0d 65 6c 73 65 0d 70 | 75 74 20 28 79 2d 31 29 |n.else.p|ut (y-1)|
|00003b70| 20 2a 20 66 69 65 6c 64 | 43 68 75 6e 6b 20 69 6e | * field|Chunk in|
|00003b80| 74 6f 20 63 6f 6c 75 6d | 6e 43 68 75 6e 6b 0d 70 |to colum|nChunk.p|
|00003b90| 75 74 20 6c 69 6e 65 20 | 28 31 20 2b 20 63 6f 6c |ut line |(1 + col|
|00003ba0| 75 6d 6e 43 68 75 6e 6b | 20 2b 20 63 61 72 64 43 |umnChunk| + cardC|
|00003bb0| 68 75 6e 6b 29 20 74 6f | 20 c2 0d 28 66 69 65 6c |hunk) to| ..(fiel|
|00003bc0| 64 43 68 75 6e 6b 20 2b | 20 63 6f 6c 75 6d 6e 43 |dChunk +| columnC|
|00003bd0| 68 75 6e 6b 20 2b 20 63 | 61 72 64 43 68 75 6e 6b |hunk + c|ardChunk|
|00003be0| 29 20 6f 66 20 74 68 65 | 4e 61 6d 65 73 20 c2 0d |) of the|Names ..|
|00003bf0| 69 6e 74 6f 20 74 68 65 | 43 6f 6c 75 6d 6e 0d 65 |into the|Column.e|
|00003c00| 6e 64 20 69 66 0d 70 75 | 74 20 74 68 65 43 6f 6c |nd if.pu|t theCol|
|00003c10| 75 6d 6e 20 c2 0d 69 6e | 74 6f 20 62 6b 67 6e 64 |umn ..in|to bkgnd|
|00003c20| 20 66 6c 64 20 28 22 4e | 61 6d 65 73 22 20 26 26 | fld ("N|ames" &&|
|00003c30| 20 79 29 20 6f 66 20 63 | 64 20 78 20 6f 66 20 62 | y) of c|d x of b|
|00003c40| 6b 67 6e 64 20 22 6d 61 | 6b 65 20 65 6e 74 72 79 |kgnd "ma|ke entry|
|00003c50| 22 0d 70 75 74 20 62 6c | 61 6e 6b 73 20 28 6e 75 |".put bl|anks (nu|
|00003c60| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|00003c70| 20 62 6b 67 6e 64 20 66 | 6c 64 20 28 22 4e 61 6d | bkgnd f|ld ("Nam|
|00003c80| 65 73 22 20 26 26 20 79 | 29 20 6f 66 20 63 64 20 |es" && y|) of cd |
|00003c90| 78 20 6f 66 20 62 6b 67 | 6e 64 20 22 6d 61 6b 65 |x of bkg|nd "make|
|00003ca0| 20 65 6e 74 72 79 22 29 | 20 c2 0d 69 6e 74 6f 20 | entry")| ..into |
|00003cb0| 62 6b 67 6e 64 20 66 6c | 64 20 28 22 42 6c 61 6e |bkgnd fl|d ("Blan|
|00003cc0| 6b 73 22 20 26 26 20 79 | 29 20 6f 66 20 63 64 20 |ks" && y|) of cd |
|00003cd0| 78 20 6f 66 20 62 6b 67 | 6e 64 20 22 6d 61 6b 65 |x of bkg|nd "make|
|00003ce0| 20 65 6e 74 72 79 22 0d | 65 6e 64 20 72 65 70 65 | entry".|end repe|
|00003cf0| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |at.end r|epeat.en|
|00003d00| 64 20 75 70 64 61 74 65 | 4d 45 53 74 75 64 65 6e |d update|MEStuden|
|00003d10| 74 73 0d 2d 2d 0d 6f 6e | 20 75 70 64 61 74 65 53 |ts.--.on| updateS|
|00003d20| 74 75 64 65 6e 74 45 6e | 74 72 69 65 73 20 73 74 |tudentEn|tries st|
|00003d30| 75 64 65 6e 74 4e 75 6d | 0d 70 75 74 20 62 6b 67 |udentNum|.put bkg|
|00003d40| 6e 64 20 66 6c 64 20 22 | 73 63 6f 72 65 20 64 61 |nd fld "|score da|
|00003d50| 74 61 22 20 6f 66 20 63 | 64 20 73 74 75 64 65 6e |ta" of c|d studen|
|00003d60| 74 4e 75 6d 20 6f 66 20 | 62 6b 67 6e 64 20 22 73 |tNum of |bkgnd "s|
|00003d70| 74 75 64 65 6e 74 20 63 | 61 72 64 73 22 20 69 6e |tudent c|ards" in|
|00003d80| 74 6f 20 74 68 65 44 61 | 74 61 0d 69 66 20 74 68 |to theDa|ta.if th|
|00003d90| 65 44 61 74 61 20 69 73 | 20 6e 6f 74 20 65 6d 70 |eData is| not emp|
|00003da0| 74 79 20 74 68 65 6e 20 | 70 75 74 20 61 6c 69 67 |ty then |put alig|
|00003db0| 6e 20 28 74 68 65 44 61 | 74 61 2c 22 32 32 22 2c |n (theDa|ta,"22",|
|00003dc0| 22 38 2c 43 22 2c 22 35 | 2c 52 22 29 20 c2 0d 69 |"8,C","5|,R") ..i|
|00003dd0| 6e 74 6f 20 62 6b 67 6e | 64 20 66 6c 64 20 22 65 |nto bkgn|d fld "e|
|00003de0| 6e 74 72 69 65 73 22 20 | 6f 66 20 63 64 20 73 74 |ntries" |of cd st|
|00003df0| 75 64 65 6e 74 4e 75 6d | 20 6f 66 20 62 6b 67 6e |udentNum| of bkgn|
|00003e00| 64 20 22 73 74 75 64 65 | 6e 74 20 63 61 72 64 73 |d "stude|nt cards|
|00003e10| 22 0d 65 6e 64 20 75 70 | 64 61 74 65 53 74 75 64 |".end up|dateStud|
|00003e20| 65 6e 74 45 6e 74 72 69 | 65 73 0d 2d 2d 0d 6f 6e |entEntri|es.--.on|
|00003e30| 20 75 70 64 61 74 65 52 | 6f 73 74 65 72 0d 2d 2d | updateR|oster.--|
|00003e40| 20 67 65 74 20 74 68 65 | 20 6e 61 6d 65 73 20 66 | get the| names f|
|00003e50| 72 6f 6d 20 73 74 75 64 | 65 6e 74 20 72 65 63 6f |rom stud|ent reco|
|00003e60| 72 64 20 63 61 72 64 73 | 0d 2d 2d 20 61 6e 64 20 |rd cards|.-- and |
|00003e70| 70 75 74 20 74 68 65 6d | 20 69 6e 20 74 68 65 20 |put them| in the |
|00003e80| 52 6f 73 74 65 72 0d 2d | 2d 0d 73 65 74 20 63 75 |Roster.-|-.set cu|
|00003e90| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 70 75 |rsor to |watch.pu|
|00003ea0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 74 68 65 |t empty |into the|
|00003eb0| 4e 61 6d 65 73 0d 72 65 | 70 65 61 74 20 77 69 74 |Names.re|peat wit|
|00003ec0| 68 20 78 20 3d 20 31 20 | 74 6f 20 6e 75 6d 62 65 |h x = 1 |to numbe|
|00003ed0| 72 20 6f 66 20 63 61 72 | 64 73 20 6f 66 20 62 6b |r of car|ds of bk|
|00003ee0| 67 6e 64 20 22 73 74 75 | 64 65 6e 74 20 63 61 72 |gnd "stu|dent car|
|00003ef0| 64 73 22 0d 70 75 74 20 | 62 6b 67 6e 64 20 66 6c |ds".put |bkgnd fl|
|00003f00| 64 20 22 6e 61 6d 65 22 | 20 6f 66 20 63 64 20 78 |d "name"| of cd x|
|00003f10| 20 6f 66 20 62 6b 67 6e | 64 20 22 73 74 75 64 65 | of bkgn|d "stude|
|00003f20| 6e 74 20 63 61 72 64 73 | 22 20 c2 0d 69 6e 74 6f |nt cards|" ..into|
|00003f30| 20 6c 69 6e 65 20 78 20 | 6f 66 20 74 68 65 4e 61 | line x |of theNa|
|00003f40| 6d 65 73 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 70 |mes.end |repeat.p|
|00003f50| 75 74 20 74 68 65 4e 61 | 6d 65 73 20 69 6e 74 6f |ut theNa|mes into|
|00003f60| 20 63 64 20 66 6c 64 20 | 22 6e 61 6d 65 73 22 20 | cd fld |"names" |
|00003f70| 6f 66 20 63 64 20 22 52 | 6f 73 74 65 72 22 0d 65 |of cd "R|oster".e|
|00003f80| 6e 64 20 75 70 64 61 74 | 65 52 6f 73 74 65 72 0d |nd updat|eRoster.|
|00003f90| 2d 2d 0d 6f 6e 20 73 6f | 72 74 53 74 75 64 65 6e |--.on so|rtStuden|
|00003fa0| 74 43 61 72 64 73 0d 2d | 2d 20 73 6f 72 74 20 73 |tCards.-|- sort s|
|00003fb0| 74 75 64 65 6e 74 20 72 | 65 63 6f 72 64 20 63 61 |tudent r|ecord ca|
|00003fc0| 72 64 73 20 61 63 63 6f | 72 64 69 6e 67 20 74 6f |rds acco|rding to|
|00003fd0| 20 74 68 65 20 6e 61 6d | 65 20 66 6f 72 6d 61 74 | the nam|e format|
|00003fe0| 0d 2d 2d 0d 69 66 20 74 | 68 65 20 68 69 6c 69 74 |.--.if t|he hilit|
|00003ff0| 65 20 6f 66 20 63 64 20 | 62 74 6e 20 69 64 20 32 |e of cd |btn id 2|
|00004000| 30 20 6f 66 20 63 64 20 | 22 72 6f 73 74 65 72 22 |0 of cd |"roster"|
|00004010| 20 74 68 65 6e 0d 73 6f | 72 74 20 63 61 72 64 73 | then.so|rt cards|
|00004020| 20 6f 66 20 62 6b 67 6e | 64 20 22 73 74 75 64 65 | of bkgn|d "stude|
|00004030| 6e 74 20 63 61 72 64 73 | 22 20 c2 0d 62 79 20 6c |nt cards|" ..by l|
|00004040| 61 73 74 20 77 6f 72 64 | 20 6f 66 20 62 6b 67 6e |ast word| of bkgn|
|00004050| 64 20 66 6c 64 20 22 6e | 61 6d 65 22 20 26 20 66 |d fld "n|ame" & f|
|00004060| 69 72 73 74 20 77 6f 72 | 64 20 6f 66 20 62 6b 67 |irst wor|d of bkg|
|00004070| 6e 64 20 66 6c 64 20 22 | 6e 61 6d 65 22 0d 65 6c |nd fld "|name".el|
|00004080| 73 65 0d 73 6f 72 74 20 | 63 61 72 64 73 20 6f 66 |se.sort |cards of|
|00004090| 20 62 6b 67 6e 64 20 22 | 73 74 75 64 65 6e 74 20 | bkgnd "|student |
|000040a0| 63 61 72 64 73 22 20 c2 | 0d 62 79 20 66 69 72 73 |cards" .|.by firs|
|000040b0| 74 20 69 74 65 6d 20 6f | 66 20 62 6b 67 6e 64 20 |t item o|f bkgnd |
|000040c0| 66 6c 64 20 22 6e 61 6d | 65 22 20 26 20 6c 61 73 |fld "nam|e" & las|
|000040d0| 74 20 69 74 65 6d 20 6f | 66 20 62 6b 67 6e 64 20 |t item o|f bkgnd |
|000040e0| 66 6c 64 20 22 6e 61 6d | 65 22 0d 65 6e 64 20 69 |fld "nam|e".end i|
|000040f0| 66 0d 65 6e 64 20 73 6f | 72 74 53 74 75 64 65 6e |f.end so|rtStuden|
|00004100| 74 43 61 72 64 73 0d 2d | 2d 0d 66 75 6e 63 74 69 |tCards.-|-.functi|
|00004110| 6f 6e 20 61 6c 69 67 6e | 44 61 74 61 20 74 68 65 |on align|Data the|
|00004120| 44 61 74 61 0d 69 66 20 | 74 68 65 44 61 74 61 20 |Data.if |theData |
|00004130| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00004140| 6e 20 72 65 74 75 72 6e | 20 61 6c 69 67 6e 20 28 |n return| align (|
|00004150| 74 68 65 44 61 74 61 2c | 22 32 32 22 2c 22 38 2c |theData,|"22","8,|
|00004160| 43 22 2c 22 35 2c 52 22 | 29 0d 65 6e 64 20 61 6c |C","5,R"|).end al|
|00004170| 69 67 6e 44 61 74 61 0d | 2d 2d 0d 66 75 6e 63 74 |ignData.|--.funct|
|00004180| 69 6f 6e 20 62 6c 61 6e | 6b 73 20 68 6f 77 4d 61 |ion blan|ks howMa|
|00004190| 6e 79 0d 2d 2d 20 72 65 | 74 75 72 6e 73 20 22 5f |ny.-- re|turns "_|
|000041a0| 22 20 63 68 61 72 61 63 | 74 65 72 73 20 66 6f 72 |" charac|ters for|
|000041b0| 20 62 6c 61 6e 6b 73 20 | 69 6e 20 74 68 65 20 6e | blanks |in the n|
|000041c0| 65 77 20 65 6e 74 72 79 | 20 63 61 72 64 73 0d 70 |ew entry| cards.p|
|000041d0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 74 68 |ut empty| into th|
|000041e0| 65 42 6c 61 6e 6b 73 0d | 72 65 70 65 61 74 20 68 |eBlanks.|repeat h|
|000041f0| 6f 77 4d 61 6e 79 0d 70 | 75 74 20 22 5f 5f 5f 22 |owMany.p|ut "___"|
|00004200| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00004210| 74 68 65 42 6c 61 6e 6b | 73 0d 65 6e 64 20 72 65 |theBlank|s.end re|
|00004220| 70 65 61 74 0d 72 65 74 | 75 72 6e 20 74 68 65 42 |peat.ret|urn theB|
|00004230| 6c 61 6e 6b 73 0d 65 6e | 64 20 62 6c 61 6e 6b 73 |lanks.en|d blanks|
|00004240| 0d 2d 2d 0d 6f 6e 20 75 | 70 64 61 74 65 4e 75 6d |.--.on u|pdateNum|
|00004250| 45 6e 74 72 69 65 73 0d | 2d 2d 20 75 70 64 61 74 |Entries.|-- updat|
|00004260| 65 20 65 6e 74 72 69 65 | 73 20 63 61 72 64 20 77 |e entrie|s card w|
|00004270| 68 65 6e 20 65 6e 74 72 | 69 65 73 20 61 72 65 20 |hen entr|ies are |
|00004280| 61 64 64 65 64 2f 64 65 | 6c 65 74 65 64 0d 2d 2d |added/de|leted.--|
|00004290| 0d 2d 2d 20 75 70 64 61 | 74 65 20 6e 75 6d 62 65 |.-- upda|te numbe|
|000042a0| 72 20 6f 66 20 65 6e 74 | 72 69 65 73 0d 67 65 74 |r of ent|ries.get|
|000042b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|000042c0| 20 6f 66 20 63 64 20 66 | 6c 64 20 22 65 6e 74 72 | of cd f|ld "entr|
|000042d0| 79 20 64 61 74 61 22 20 | 6f 66 20 63 64 20 22 65 |y data" |of cd "e|
|000042e0| 6e 74 72 69 65 73 22 0d | 70 75 74 20 69 74 20 26 |ntries".|put it &|
|000042f0| 26 20 22 65 6e 74 72 69 | 65 73 22 20 69 6e 74 6f |& "entri|es" into|
|00004300| 20 63 64 20 66 6c 64 20 | 22 6e 75 6d 62 65 72 20 | cd fld |"number |
|00004310| 6f 66 20 65 6e 74 72 69 | 65 73 22 20 6f 66 20 63 |of entri|es" of c|
|00004320| 64 20 22 65 6e 74 72 69 | 65 73 22 0d 69 66 20 69 |d "entri|es".if i|
|00004330| 74 20 69 73 20 6e 6f 74 | 20 22 30 22 20 74 68 65 |t is not| "0" the|
|00004340| 6e 0d 70 75 74 20 61 6c | 69 67 6e 20 28 63 64 20 |n.put al|ign (cd |
|00004350| 66 6c 64 20 22 65 6e 74 | 72 79 20 64 61 74 61 22 |fld "ent|ry data"|
|00004360| 20 6f 66 20 63 64 20 22 | 65 6e 74 72 69 65 73 22 | of cd "|entries"|
|00004370| 2c 22 31 30 22 2c 22 32 | 35 22 2c 22 32 35 22 2c |,"10","2|5","25",|
|00004380| 22 36 22 29 20 c2 0d 69 | 6e 74 6f 20 63 64 20 66 |"6") ..i|nto cd f|
|00004390| 6c 64 20 22 65 6e 74 72 | 69 65 73 22 20 6f 66 20 |ld "entr|ies" of |
|000043a0| 63 64 20 22 65 6e 74 72 | 69 65 73 22 0d 65 6c 73 |cd "entr|ies".els|
|000043b0| 65 20 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |e put em|pty into|
|000043c0| 20 63 64 20 66 6c 64 20 | 22 65 6e 74 72 69 65 73 | cd fld |"entries|
|000043d0| 22 20 6f 66 20 63 64 20 | 22 65 6e 74 72 69 65 73 |" of cd |"entries|
|000043e0| 22 0d 2d 2d 20 65 6e 61 | 62 6c 65 2f 64 69 73 61 |".-- ena|ble/disa|
|000043f0| 62 6c 65 20 62 75 74 74 | 6f 6e 73 0d 69 66 20 69 |ble butt|ons.if i|
|00004400| 74 20 3d 20 30 20 74 68 | 65 6e 0d 73 65 74 20 74 |t = 0 th|en.set t|
|00004410| 68 65 20 69 63 6f 6e 20 | 6f 66 20 63 64 20 62 74 |he icon |of cd bt|
|00004420| 6e 20 22 63 6c 61 73 73 | 20 70 65 72 66 6f 72 6d |n "class| perform|
|00004430| 61 6e 63 65 22 20 6f 66 | 20 63 64 20 22 65 6e 74 |ance" of| cd "ent|
|00004440| 72 69 65 73 22 20 c2 0d | 74 6f 20 22 67 72 61 79 |ries" ..|to "gray|
|00004450| 20 63 6c 61 73 73 20 70 | 65 72 66 22 0d 73 65 74 | class p|erf".set|
|00004460| 20 74 68 65 20 69 63 6f | 6e 20 6f 66 20 63 64 20 | the ico|n of cd |
|00004470| 62 74 6e 20 22 64 65 6c | 65 74 65 20 65 6e 74 72 |btn "del|ete entr|
|00004480| 79 22 20 6f 66 20 63 64 | 20 22 65 6e 74 72 69 65 |y" of cd| "entrie|
|00004490| 73 22 20 c2 0d 74 6f 20 | 22 67 72 61 79 20 64 65 |s" ..to |"gray de|
|000044a0| 6c 65 74 65 20 65 6e 74 | 72 79 22 0d 65 6c 73 65 |lete ent|ry".else|
|000044b0| 20 69 66 20 69 74 20 3d | 20 31 20 74 68 65 6e 0d | if it =| 1 then.|
|000044c0| 73 65 74 20 74 68 65 20 | 69 63 6f 6e 20 6f 66 20 |set the |icon of |
|000044d0| 63 64 20 62 74 6e 20 22 | 63 6c 61 73 73 20 70 65 |cd btn "|class pe|
|000044e0| 72 66 6f 72 6d 61 6e 63 | 65 22 20 6f 66 20 63 64 |rformanc|e" of cd|
|000044f0| 20 22 65 6e 74 72 69 65 | 73 22 20 c2 0d 74 6f 20 | "entrie|s" ..to |
|00004500| 22 63 6c 61 73 73 20 70 | 65 72 66 22 0d 73 65 74 |"class p|erf".set|
|00004510| 20 74 68 65 20 69 63 6f | 6e 20 6f 66 20 63 64 20 | the ico|n of cd |
|00004520| 62 74 6e 20 22 64 65 6c | 65 74 65 20 65 6e 74 72 |btn "del|ete entr|
|00004530| 79 22 20 6f 66 20 63 64 | 20 22 65 6e 74 72 69 65 |y" of cd| "entrie|
|00004540| 73 22 20 c2 0d 74 6f 20 | 22 64 65 6c 65 74 65 20 |s" ..to |"delete |
|00004550| 65 6e 74 72 79 22 0d 65 | 6e 64 20 69 66 0d 65 6e |entry".e|nd if.en|
|00004560| 64 20 75 70 64 61 74 65 | 4e 75 6d 45 6e 74 72 69 |d update|NumEntri|
|00004570| 65 73 0d 2d 2d 0d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |es.--.--|--------|
|00004580| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 66 69 65 6c 64 20 |--------|- field |
|00004590| 73 65 6c 65 63 74 69 6f | 6e 20 68 61 6e 64 6c 65 |selectio|n handle|
|000045a0| 72 73 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |rs -----|-------.|
|000045b0| 2d 2d 0d 6f 6e 20 68 69 | 6c 69 74 65 57 68 6f 6c |--.on hi|liteWhol|
|000045c0| 65 4c 69 6e 65 20 74 68 | 65 46 69 65 6c 64 2c 74 |eLine th|eField,t|
|000045d0| 68 65 4c 69 6e 65 0d 2d | 2d 20 68 69 6c 69 74 65 |heLine.-|- hilite|
|000045e0| 73 20 6c 69 6e 65 20 6f | 66 20 6d 75 6c 74 69 70 |s line o|f multip|
|000045f0| 6c 65 20 73 63 72 6f 6c | 6c 69 6e 67 20 66 69 65 |le scrol|ling fie|
|00004600| 6c 64 73 0d 2d 2d 20 77 | 69 74 68 20 61 20 74 72 |lds.-- w|ith a tr|
|00004610| 61 6e 73 70 61 72 65 6e | 74 20 62 75 74 74 6f 6e |ansparen|t button|
|00004620| 0d 2d 2d 20 69 64 65 61 | 20 66 72 6f 6d 20 74 68 |.-- idea| from th|
|00004630| 65 20 48 43 20 68 65 6c | 70 20 73 74 61 63 6b 73 |e HC hel|p stacks|
|00004640| 0d 2d 2d 20 63 61 6e 27 | 74 20 68 61 76 65 20 61 |.-- can'|t have a|
|00004650| 20 63 61 72 64 20 66 6c | 64 20 61 6e 64 20 61 20 | card fl|d and a |
|00004660| 62 6b 67 6e 64 20 66 6c | 64 20 77 69 74 68 20 74 |bkgnd fl|d with t|
|00004670| 68 65 20 73 61 6d 65 20 | 6e 61 6d 65 0d 2d 2d 0d |he same |name.--.|
|00004680| 2d 2d 20 66 6f 72 20 63 | 64 20 66 6c 64 73 0d 69 |-- for c|d flds.i|
|00004690| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 63 64 20 |f there |is a cd |
|000046a0| 66 6c 64 20 74 68 65 46 | 69 65 6c 64 20 74 68 65 |fld theF|ield the|
|000046b0| 6e 0d 70 75 74 20 74 6f | 70 20 6f 66 20 63 64 20 |n.put to|p of cd |
|000046c0| 66 6c 64 20 74 68 65 46 | 69 65 6c 64 20 69 6e 74 |fld theF|ield int|
|000046d0| 6f 20 66 69 65 6c 64 54 | 6f 70 0d 70 75 74 20 74 |o fieldT|op.put t|
|000046e0| 65 78 74 48 65 69 67 68 | 74 20 6f 66 20 63 64 20 |extHeigh|t of cd |
|000046f0| 66 6c 64 20 74 68 65 46 | 69 65 6c 64 20 69 6e 74 |fld theF|ield int|
|00004700| 6f 20 6c 69 6e 65 48 65 | 69 67 68 74 0d 69 66 20 |o lineHe|ight.if |
|00004710| 74 68 65 20 73 74 79 6c | 65 20 6f 66 20 63 64 20 |the styl|e of cd |
|00004720| 66 6c 64 20 74 68 65 46 | 69 65 6c 64 20 69 73 20 |fld theF|ield is |
|00004730| 22 73 63 72 6f 6c 6c 69 | 6e 67 22 0d 74 68 65 6e |"scrolli|ng".then|
|00004740| 20 70 75 74 20 74 68 65 | 20 73 63 72 6f 6c 6c 20 | put the| scroll |
|00004750| 6f 66 20 63 64 20 66 6c | 64 20 74 68 65 46 69 65 |of cd fl|d theFie|
|00004760| 6c 64 20 69 6e 74 6f 20 | 66 69 65 6c 64 53 63 72 |ld into |fieldScr|
|00004770| 6f 6c 6c 0d 65 6c 73 65 | 20 70 75 74 20 30 20 69 |oll.else| put 0 i|
|00004780| 6e 74 6f 20 66 69 65 6c | 64 53 63 72 6f 6c 6c 0d |nto fiel|dScroll.|
|00004790| 70 75 74 20 28 66 69 65 | 6c 64 54 6f 70 20 2b 20 |put (fie|ldTop + |
|000047a0| 28 74 68 65 4c 69 6e 65 | 20 2a 20 6c 69 6e 65 48 |(theLine| * lineH|
|000047b0| 65 69 67 68 74 29 20 2d | 20 66 69 65 6c 64 53 63 |eight) -| fieldSc|
|000047c0| 72 6f 6c 6c 29 20 c2 0d | 69 6e 74 6f 20 74 68 65 |roll) ..|into the|
|000047d0| 42 6f 74 74 6f 6d 0d 73 | 65 74 20 74 68 65 20 62 |Bottom.s|et the b|
|000047e0| 6f 74 74 6f 6d 20 6f 66 | 20 63 64 20 62 74 6e 20 |ottom of| cd btn |
|000047f0| 22 68 69 6c 69 74 65 72 | 22 20 74 6f 20 74 68 65 |"hiliter|" to the|
|00004800| 42 6f 74 74 6f 6d 0d 73 | 68 6f 77 20 63 64 20 62 |Bottom.s|how cd b|
|00004810| 74 6e 20 22 68 69 6c 69 | 74 65 72 22 0d 2d 2d 0d |tn "hili|ter".--.|
|00004820| 2d 2d 20 66 6f 72 20 62 | 6b 67 6e 64 20 66 6c 64 |-- for b|kgnd fld|
|00004830| 73 0d 65 6c 73 65 20 69 | 66 20 74 68 65 72 65 20 |s.else i|f there |
|00004840| 69 73 20 61 20 62 6b 67 | 6e 64 20 66 6c 64 20 74 |is a bkg|nd fld t|
|00004850| 68 65 46 69 65 6c 64 20 | 74 68 65 6e 0d 70 75 74 |heField |then.put|
|00004860| 20 74 6f 70 20 6f 66 20 | 62 6b 67 6e 64 20 66 6c | top of |bkgnd fl|
|00004870| 64 20 74 68 65 46 69 65 | 6c 64 20 69 6e 74 6f 20 |d theFie|ld into |
|00004880| 66 69 65 6c 64 54 6f 70 | 0d 70 75 74 20 74 65 78 |fieldTop|.put tex|
|00004890| 74 48 65 69 67 68 74 20 | 6f 66 20 62 6b 67 6e 64 |tHeight |of bkgnd|
|000048a0| 20 66 6c 64 20 74 68 65 | 46 69 65 6c 64 20 69 6e | fld the|Field in|
|000048b0| 74 6f 20 6c 69 6e 65 48 | 65 69 67 68 74 0d 69 66 |to lineH|eight.if|
|000048c0| 20 74 68 65 20 73 74 79 | 6c 65 20 6f 66 20 62 6b | the sty|le of bk|
|000048d0| 67 6e 64 20 66 6c 64 20 | 74 68 65 46 69 65 6c 64 |gnd fld |theField|
|000048e0| 20 69 73 20 22 73 63 72 | 6f 6c 6c 69 6e 67 22 0d | is "scr|olling".|
|000048f0| 74 68 65 6e 20 70 75 74 | 20 74 68 65 20 73 63 72 |then put| the scr|
|00004900| 6f 6c 6c 20 6f 66 20 62 | 6b 67 6e 64 20 66 6c 64 |oll of b|kgnd fld|
|00004910| 20 74 68 65 46 69 65 6c | 64 20 69 6e 74 6f 20 66 | theFiel|d into f|
|00004920| 69 65 6c 64 53 63 72 6f | 6c 6c 0d 65 6c 73 65 20 |ieldScro|ll.else |
|00004930| 70 75 74 20 30 20 69 6e | 74 6f 20 66 69 65 6c 64 |put 0 in|to field|
|00004940| 53 63 72 6f 6c 6c 0d 70 | 75 74 20 28 66 69 65 6c |Scroll.p|ut (fiel|
|00004950| 64 54 6f 70 20 2b 20 28 | 74 68 65 4c 69 6e 65 20 |dTop + (|theLine |
|00004960| 2a 20 6c 69 6e 65 48 65 | 69 67 68 74 29 20 2d 20 |* lineHe|ight) - |
|00004970| 66 69 65 6c 64 53 63 72 | 6f 6c 6c 29 20 c2 0d 69 |fieldScr|oll) ..i|
|00004980| 6e 74 6f 20 74 68 65 42 | 6f 74 74 6f 6d 0d 73 65 |nto theB|ottom.se|
|00004990| 74 20 74 68 65 20 62 6f | 74 74 6f 6d 20 6f 66 20 |t the bo|ttom of |
|000049a0| 62 6b 67 6e 64 20 62 74 | 6e 20 22 68 69 6c 69 74 |bkgnd bt|n "hilit|
|000049b0| 65 72 22 20 74 6f 20 74 | 68 65 42 6f 74 74 6f 6d |er" to t|heBottom|
|000049c0| 0d 73 68 6f 77 20 62 6b | 67 6e 64 20 62 74 6e 20 |.show bk|gnd btn |
|000049d0| 22 68 69 6c 69 74 65 72 | 22 0d 65 6e 64 20 69 66 |"hiliter|".end if|
|000049e0| 0d 65 6e 64 20 68 69 6c | 69 74 65 57 68 6f 6c 65 |.end hil|iteWhole|
|000049f0| 4c 69 6e 65 0d 2d 2d 0d | 6f 6e 20 73 65 6c 65 63 |Line.--.|on selec|
|00004a00| 74 4e 6f 74 68 69 6e 67 | 0d 2d 2d 20 75 6e 68 69 |tNothing|.-- unhi|
|00004a10| 6c 69 74 65 20 6d 75 6c | 74 69 70 6c 65 20 73 63 |lite mul|tiple sc|
|00004a20| 72 6f 6c 6c 69 6e 67 20 | 66 69 65 6c 64 73 0d 69 |rolling |fields.i|
|00004a30| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 63 64 20 |f there |is a cd |
|00004a40| 62 74 6e 20 22 68 69 6c | 69 74 65 72 22 20 74 68 |btn "hil|iter" th|
|00004a50| 65 6e 0d 68 69 64 65 20 | 63 64 20 62 74 6e 20 22 |en.hide |cd btn "|
|00004a60| 68 69 6c 69 74 65 72 22 | 0d 65 6c 73 65 20 69 66 |hiliter"|.else if|
|00004a70| 20 74 68 65 72 65 20 69 | 73 20 61 20 62 6b 67 6e | there i|s a bkgn|
|00004a80| 64 20 62 74 6e 20 22 68 | 69 6c 69 74 65 72 22 0d |d btn "h|iliter".|
|00004a90| 74 68 65 6e 20 68 69 64 | 65 20 62 6b 67 6e 64 20 |then hid|e bkgnd |
|00004aa0| 62 74 6e 20 22 68 69 6c | 69 74 65 72 22 0d 65 6e |btn "hil|iter".en|
|00004ab0| 64 20 73 65 6c 65 63 74 | 4e 6f 74 68 69 6e 67 0d |d select|Nothing.|
|00004ac0| 2d 2d 0d 66 75 6e 63 74 | 69 6f 6e 20 63 6c 69 63 |--.funct|ion clic|
|00004ad0| 6b 43 68 6f 69 63 65 20 | 74 68 65 46 69 65 6c 64 |kChoice |theField|
|00004ae0| 4e 75 6d 73 2c 66 6c 64 | 54 79 70 65 2c 73 65 6c |Nums,fld|Type,sel|
|00004af0| 65 63 74 46 75 6c 6c 4c | 69 6e 65 0d 2d 2d 20 66 |ectFullL|ine.-- f|
|00004b00| 6f 72 20 68 61 6e 64 6c | 69 6e 67 20 6d 6f 75 73 |or handl|ing mous|
|00004b10| 65 43 6c 69 63 6b 73 20 | 6f 6e 20 66 69 65 6c 64 |eClicks |on field|
|00004b20| 73 0d 2d 2d 20 73 65 6c | 65 63 74 46 75 6c 6c 4c |s.-- sel|ectFullL|
|00004b30| 69 6e 65 20 3d 20 74 72 | 75 65 20 74 6f 20 75 73 |ine = tr|ue to us|
|00004b40| 65 20 62 75 74 74 6f 6e | 20 61 73 20 68 69 6c 69 |e button| as hili|
|00004b50| 74 65 72 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |ter.put |the numb|
|00004b60| 65 72 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |er of th|e target|
|00004b70| 20 69 6e 74 6f 20 74 61 | 72 67 65 74 4e 75 6d 0d | into ta|rgetNum.|
|00004b80| 69 66 20 66 6c 64 54 79 | 70 65 20 69 73 20 22 63 |if fldTy|pe is "c|
|00004b90| 64 22 20 61 6e 64 20 c2 | 0d 77 6f 72 64 20 31 20 |d" and .|.word 1 |
|00004ba0| 74 6f 20 32 20 6f 66 20 | 74 68 65 20 6e 61 6d 65 |to 2 of |the name|
|00004bb0| 20 6f 66 20 74 68 65 20 | 74 61 72 67 65 74 20 ad | of the |target .|
|00004bc0| 20 22 63 61 72 64 20 66 | 69 65 6c 64 22 0d 74 68 | "card f|ield".th|
|00004bd0| 65 6e 20 72 65 74 75 72 | 6e 20 65 6d 70 74 79 0d |en retur|n empty.|
|00004be0| 65 6c 73 65 20 69 66 20 | 66 6c 64 54 79 70 65 20 |else if |fldType |
|00004bf0| 69 73 20 22 62 6b 67 6e | 64 22 20 61 6e 64 20 c2 |is "bkgn|d" and .|
|00004c00| 0d 77 6f 72 64 20 31 20 | 74 6f 20 32 20 6f 66 20 |.word 1 |to 2 of |
|00004c10| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|00004c20| 74 61 72 67 65 74 20 ad | 20 22 62 6b 67 6e 64 20 |target .| "bkgnd |
|00004c30| 66 69 65 6c 64 22 0d 74 | 68 65 6e 20 72 65 74 75 |field".t|hen retu|
|00004c40| 72 6e 20 65 6d 70 74 79 | 0d 65 6c 73 65 20 69 66 |rn empty|.else if|
|00004c50| 20 6e 6f 74 20 6f 6e 4c | 69 73 74 20 28 74 68 65 | not onL|ist (the|
|00004c60| 46 69 65 6c 64 4e 75 6d | 73 2c 74 61 72 67 65 74 |FieldNum|s,target|
|00004c70| 4e 75 6d 29 0d 74 68 65 | 6e 20 72 65 74 75 72 6e |Num).the|n return|
|00004c80| 20 65 6d 70 74 79 0d 70 | 75 74 20 74 68 65 20 63 | empty.p|ut the c|
|00004c90| 6c 69 63 6b 4c 69 6e 65 | 20 69 6e 74 6f 20 74 68 |lickLine| into th|
|00004ca0| 65 4c 69 6e 65 43 6c 69 | 63 6b 65 64 0d 69 66 20 |eLineCli|cked.if |
|00004cb0| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 74 68 65 |the valu|e of the|
|00004cc0| 4c 69 6e 65 43 6c 69 63 | 6b 65 64 20 69 73 20 65 |LineClic|ked is e|
|00004cd0| 6d 70 74 79 20 74 68 65 | 6e 20 72 65 74 75 72 6e |mpty the|n return|
|00004ce0| 20 65 6d 70 74 79 0d 73 | 65 74 20 63 75 72 73 6f | empty.s|et curso|
|00004cf0| 72 20 74 6f 20 77 61 74 | 63 68 0d 70 75 74 20 77 |r to wat|ch.put w|
|00004d00| 6f 72 64 20 32 20 6f 66 | 20 74 68 65 4c 69 6e 65 |ord 2 of| theLine|
|00004d10| 43 6c 69 63 6b 65 64 20 | 69 6e 74 6f 20 74 68 65 |Clicked |into the|
|00004d20| 4c 69 6e 65 0d 69 66 20 | 73 65 6c 65 63 74 46 75 |Line.if |selectFu|
|00004d30| 6c 6c 4c 69 6e 65 20 69 | 73 20 74 72 75 65 20 74 |llLine i|s true t|
|00004d40| 68 65 6e 0d 68 69 6c 69 | 74 65 57 68 6f 6c 65 4c |hen.hili|teWholeL|
|00004d50| 69 6e 65 20 28 74 68 65 | 20 73 68 6f 72 74 20 6e |ine (the| short n|
|00004d60| 61 6d 65 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |ame of t|he targe|
|00004d70| 74 29 2c 74 68 65 4c 69 | 6e 65 0d 65 6c 73 65 20 |t),theLi|ne.else |
|00004d80| 73 65 6c 65 63 74 57 68 | 6f 6c 65 4c 69 6e 65 20 |selectWh|oleLine |
|00004d90| 74 68 65 4c 69 6e 65 0d | 72 65 74 75 72 6e 20 74 |theLine.|return t|
|00004da0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00004db0| 20 74 68 65 20 74 61 72 | 67 65 74 20 26 20 22 2c | the tar|get & ",|
|00004dc0| 22 20 26 20 74 68 65 4c | 69 6e 65 0d 65 6e 64 20 |" & theL|ine.end |
|00004dd0| 63 6c 69 63 6b 43 68 6f | 69 63 65 0d 2d 2d 0d 6f |clickCho|ice.--.o|
|00004de0| 6e 20 73 65 6c 65 63 74 | 57 68 6f 6c 65 4c 69 6e |n select|WholeLin|
|00004df0| 65 20 74 68 65 4c 69 6e | 65 0d 2d 2d 20 73 65 6c |e theLin|e.-- sel|
|00004e00| 65 63 74 73 20 65 6e 74 | 69 72 65 20 6c 69 6e 65 |ects ent|ire line|
|00004e10| 20 6f 66 20 6f 6e 65 20 | 66 69 65 6c 64 0d 73 65 | of one |field.se|
|00004e20| 6c 65 63 74 20 63 68 61 | 72 20 31 20 74 6f 20 6e |lect cha|r 1 to n|
|00004e30| 75 6d 62 65 72 20 6f 66 | 20 63 68 61 72 73 20 69 |umber of| chars i|
|00004e40| 6e 20 6c 69 6e 65 20 74 | 68 65 4c 69 6e 65 20 6f |n line t|heLine o|
|00004e50| 66 20 74 61 72 67 65 74 | 20 2b 20 31 20 c2 0d 6f |f target| + 1 ..o|
|00004e60| 66 20 6c 69 6e 65 20 74 | 68 65 4c 69 6e 65 20 74 |f line t|heLine t|
|00004e70| 6f 20 74 68 65 4c 69 6e | 65 20 2b 20 31 20 6f 66 |o theLin|e + 1 of|
|00004e80| 20 74 68 65 20 74 61 72 | 67 65 74 0d 65 6e 64 20 | the tar|get.end |
|00004e90| 73 65 6c 65 63 74 57 68 | 6f 6c 65 4c 69 6e 65 0d |selectWh|oleLine.|
|00004ea0| 2d 2d 0d 66 75 6e 63 74 | 69 6f 6e 20 64 6f 4c 69 |--.funct|ion doLi|
|00004eb0| 73 74 44 69 61 6c 6f 67 | 20 74 68 65 4c 69 73 74 |stDialog| theList|
|00004ec0| 2c 74 68 65 50 72 6f 6d | 70 74 0d 2d 2d 20 72 65 |,theProm|pt.-- re|
|00004ed0| 74 75 72 6e 73 20 74 68 | 65 20 6c 69 6e 65 20 6e |turns th|e line n|
|00004ee0| 75 6d 62 65 72 20 6f 66 | 20 74 68 65 20 73 65 6c |umber of| the sel|
|00004ef0| 65 63 74 69 6f 6e 0d 2d | 2d 20 72 69 6e 61 6c 64 |ection.-|- rinald|
|00004f00| 69 20 58 46 43 4e 0d 67 | 65 74 20 6c 69 73 74 53 |i XFCN.g|et listS|
|00004f10| 65 6c 65 63 74 20 28 22 | 31 23 22 2c 74 68 65 4c |elect ("|1#",theL|
|00004f20| 69 73 74 2c 74 68 65 50 | 72 6f 6d 70 74 2c 22 4f |ist,theP|rompt,"O|
|00004f30| 4b 22 2c 22 43 61 6e 63 | 65 6c 22 2c 22 72 65 74 |K","Canc|el","ret|
|00004f40| 75 72 6e 22 2c 22 67 65 | 6e 65 76 61 2c 31 30 22 |urn","ge|neva,10"|
|00004f50| 29 0d 72 65 74 75 72 6e | 20 69 74 0d 65 6e 64 20 |).return| it.end |
|00004f60| 64 6f 4c 69 73 74 44 69 | 61 6c 6f 67 00 00 00 00 |doListDi|alog....|
|00004f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005080| 00 00 04 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00005090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050a0| 00 17 6a ff 00 17 59 b4 | 00 02 e4 f1 00 0f 62 92 |..j...Y.|......b.|
|000050b0| 00 17 45 d9 00 17 55 71 | 00 17 6f f2 00 17 97 29 |..E...Uq|..o....)|
|000050c0| 00 12 89 f1 00 0c 72 b3 | 00 03 5d 6c 00 0d cb c3 |......r.|..]l....|
|000050d0| 00 05 9d b4 00 17 cb f1 | 00 16 6b 2b 00 0d f3 43 |........|..k+...C|
|000050e0| 00 03 c5 9b 00 03 c1 c0 | 00 08 f2 91 00 14 68 b0 |........|......h.|
|000050f0| 00 05 a0 e6 00 16 90 59 | 00 17 0c 18 00 0a 24 7b |.......Y|......${|
|00005100| 00 17 10 40 00 09 23 07 | 00 0a 37 5a 00 08 ee d3 |...@..#.|..7Z....|
|00005110| 00 03 c3 bb 00 00 00 00 | 00 17 14 1a 00 00 00 00 |........|........|
|00005120| 00 09 d9 a8 00 17 24 45 | 00 17 34 9a 00 02 a0 34 |......$E|..4....4|
|00005130| 00 02 a4 91 00 00 00 00 | 00 00 00 00 00 11 59 bb |........|......Y.|
|00005140| 00 16 74 13 00 03 ae 10 | 00 17 bd 71 00 17 a3 9d |..t.....|...q....|
|00005150| 00 16 6f 26 00 16 76 7b | 00 17 84 b6 00 00 00 00 |..o&..v{|........|
|00005160| 00 16 78 85 00 16 7a 08 | 00 16 7c 95 00 16 7e b4 |..x...z.|..|...~.|
|00005170| 00 16 80 90 00 16 82 b1 | 00 16 84 4e 00 16 86 05 |........|...N....|
|00005180| 00 16 88 8a 00 16 8a f5 | 00 16 8c a4 00 16 8e ca |........|........|
|00005190| 00 00 00 00 00 00 00 00 | 00 0d d8 8a 00 0a 3e 89 |........|......>.|
|000051a0| 00 09 7d 36 00 03 61 66 | 00 03 a9 3d 00 0a c5 6b |..}6..af|...=...k|
|000051b0| 00 0a cc d7 00 0b 72 01 | 00 0b 79 91 00 0b cf ec |......r.|..y.....|
|000051c0| 00 0b d7 39 00 0c 6a db | 00 0c d8 74 00 00 00 00 |...9..j.|...t....|
|000051d0| 00 0c e1 99 00 0d b6 c0 | 00 09 fd 1c 00 0a 15 a4 |........|........|
|000051e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 0f 15 03 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005480| 00 00 00 80 4c 49 53 54 | 00 00 2b 34 00 00 00 00 |....LIST|..+4....|
|00005490| 00 00 00 01 00 00 08 00 | 00 00 00 28 00 10 00 02 |........|...(....|
|000054a0| 00 03 00 03 20 00 05 ba | 00 00 00 28 00 00 00 00 |.... ...|...(....|
|000054b0| 00 00 2c 91 00 28 00 00 | 00 00 00 00 00 00 00 00 |..,..(..|........|
|000054c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005500| 00 00 08 00 50 41 47 45 | 00 00 2c 91 00 00 00 00 |....PAGE|..,.....|
|00005510| 00 00 2b 34 a0 b2 59 10 | 00 00 1a 91 e0 41 c1 12 |..+4..Y.|.....A..|
|00005520| a2 8c 6d 8e 71 5d 43 b0 | 00 00 48 36 e0 7f ff d7 |..m.q]C.|..H6....|
|00005530| ff ff ff fe df ff ff b0 | 00 00 56 1c a0 7f ff ff |........|..V.....|
|00005540| ff ff ff bf ff fe 7f f0 | 00 00 57 a4 20 77 ff ff |........|..W. w..|
|00005550| ff 7f ff fe ff ff 7f f0 | 00 00 1f 7b a0 7f 7f e6 |........|...{....|
|00005560| fe bd ff ff ff ff ef f0 | 00 00 22 5a a0 58 20 80 |........|.."Z.X .|
|00005570| 00 80 00 00 00 80 01 10 | 00 00 4b 6b a0 00 04 10 |........|..Kk....|
|00005580| 20 00 10 04 00 00 42 10 | 00 00 4d 01 a0 00 00 60 | .....B.|..M....`|
|00005590| 82 84 00 00 00 44 03 50 | 00 00 4f ec a0 53 30 82 |.....D.P|..O..S0.|
|000055a0| 00 84 04 00 01 00 01 00 | 00 00 51 db a0 75 00 c2 |........|..Q..u..|
|000055b0| 20 84 02 00 10 30 01 00 | 00 00 52 74 a0 40 04 01 | ....0..|..Rt.@..|
|000055c0| 04 04 10 a0 80 40 0c 10 | 00 00 55 c0 a0 7d fe ff |.....@..|..U..}..|
|000055d0| e7 7f fe df ff ff fe f0 | 00 00 13 c3 20 7f df 3f |........|.... ..?|
|000055e0| ff ff f7 fc fe ff de f0 | 00 00 46 8a 20 7f ff ff |........|..F. ...|
|000055f0| ff ff ff ff ff ff ff f0 | 00 00 17 43 e0 7f ff ff |........|...C....|
|00005600| ff ff ff ff ff ff ff f0 | 00 00 0b 92 a0 7f ff ff |........|........|
|00005610| ff ff ff ff ff ff ff f0 | 00 00 2f bb a0 7f fe ff |........|../.....|
|00005620| b7 f7 ff bf ef fe ef d0 | 00 00 10 f1 a0 7f ff ff |........|........|
|00005630| ff ff ff ff ff ff ff f0 | 00 00 1b b0 a0 7f ff ff |........|........|
|00005640| ff ff ff ff ff ff ff f0 | 00 00 34 26 60 0b 02 85 |........|..4&`...|
|00005650| 10 48 29 80 06 00 00 00 | 00 00 30 13 20 00 00 00 |.H).....|..0. ...|
|00005660| 00 00 00 00 00 00 00 00 | 00 00 35 7b 20 00 00 00 |........|..5{ ...|
|00005670| 00 00 00 00 00 00 00 00 | 00 00 38 85 20 00 00 00 |........|..8. ...|
|00005680| 00 00 00 00 00 00 00 00 | 00 00 39 08 20 00 00 00 |........|..9. ...|
|00005690| 00 00 00 00 00 00 00 00 | 00 00 3a 95 20 00 00 00 |........|..:. ...|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 3b b4 20 00 00 00 |........|..;. ...|
|000056b0| 00 00 00 00 00 00 00 00 | 00 00 3c 90 20 00 00 00 |........|..<. ...|
|000056c0| 00 00 00 00 00 00 00 00 | 00 00 3d b1 20 00 00 00 |........|..=. ...|
|000056d0| 00 00 00 00 00 00 00 00 | 00 00 3e 4e 20 00 00 00 |........|..>N ...|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 3f 05 20 00 00 00 |........|..?. ...|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 40 8a 20 00 00 00 |........|..@. ...|
|00005700| 00 00 00 00 00 00 00 00 | 00 00 41 f5 20 00 00 00 |........|..A. ...|
|00005710| 00 00 00 00 00 00 00 00 | 00 00 42 a4 20 00 00 00 |........|..B. ...|
|00005720| 00 00 00 00 00 00 00 00 | 00 00 43 ca 20 00 00 00 |........|..C. ...|
|00005730| 00 00 00 00 00 00 00 00 | 00 00 1d 59 60 4b 6e 37 |........|...Y`Kn7|
|00005740| fb be 3b dc c3 45 c8 60 | 00 00 1e 18 20 00 00 00 |..;..E.`|.... ...|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 20 40 20 00 00 00 |........|.. @ ...|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 26 1a 60 0b 0e a5 |........|..&.`...|
|00005770| 10 e8 29 80 07 05 80 20 | 00 00 29 45 20 0b 46 a5 |..).... |..)E .F.|
|00005780| 51 c8 29 80 06 01 40 00 | 00 00 2a 9a 20 4b 06 95 |Q.)...@.|..*. K..|
|00005790| b0 c8 29 84 46 41 00 00 | 00 00 00 00 00 00 00 00 |..).FA..|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d00| 00 00 0f 20 42 4b 47 44 | 00 00 0a f1 00 00 00 00 |... BKGD|........|
|00005d10| 00 00 12 6c 40 00 00 00 | 00 00 00 05 00 00 49 66 |...l@...|......If|
|00005d20| 00 00 1c e6 00 09 00 28 | 00 00 03 32 00 00 00 00 |.......(|...2....|
|00005d30| 00 00 00 2c 00 26 02 35 | 00 15 00 c0 00 25 01 3f |...,.&.5|.....%.?|
|00005d40| 00 02 00 00 00 00 00 01 | 00 10 00 0c 00 00 00 10 |........|........|
|00005d50| 63 61 72 64 20 74 69 74 | 6c 65 00 00 00 00 00 46 |card tit|le.....F|
|00005d60| 00 03 01 00 01 31 00 2f | 01 55 00 57 10 04 00 00 |.....1./|.U.W....|
|00005d70| 52 44 00 01 00 00 00 0c | 00 00 00 10 48 65 6c 70 |RD......|....Help|
|00005d80| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 62 75 74 |..on mou|seUp.but|
|00005d90| 74 6f 6e 48 65 6c 70 0d | 65 6e 64 20 6d 6f 75 73 |tonHelp.|end mous|
|00005da0| 65 55 70 00 00 d4 00 16 | 01 00 01 31 00 04 01 55 |eUp.....|...1...U|
|00005db0| 00 2c 20 04 00 00 54 c4 | 00 01 00 00 00 0c 00 00 |., ...T.|........|
|00005dc0| 00 10 48 6f 6d 65 00 00 | 6f 6e 20 6d 6f 75 73 65 |..Home..|on mouse|
|00005dd0| 55 70 0d 69 66 20 74 68 | 65 20 6f 70 74 69 6f 6e |Up.if th|e option|
|00005de0| 4b 65 79 20 69 73 20 6e | 6f 74 20 64 6f 77 6e 20 |Key is n|ot down |
|00005df0| 74 68 65 6e 0d 62 65 65 | 70 20 31 0d 61 6e 73 77 |then.bee|p 1.answ|
|00005e00| 65 72 20 22 4c 65 61 76 | 65 20 47 72 61 64 65 62 |er "Leav|e Gradeb|
|00005e10| 6f 6f 6b 20 61 6e 64 20 | 67 6f 20 48 6f 6d 65 20 |ook and |go Home |
|00005e20| 3f 22 20 77 69 74 68 20 | 22 43 61 6e 63 65 6c 22 |?" with |"Cancel"|
|00005e30| 20 6f 72 20 22 4f 4b 22 | 0d 69 66 20 69 74 20 69 | or "OK"|.if it i|
|00005e40| 73 20 22 63 61 6e 63 65 | 6c 22 20 74 68 65 6e 20 |s "cance|l" then |
|00005e50| 65 78 69 74 20 6d 6f 75 | 73 65 55 70 0d 65 6e 64 |exit mou|seUp.end|
|00005e60| 20 69 66 0d 67 6f 20 68 | 6f 6d 65 0d 65 6e 64 20 | if.go h|ome.end |
|00005e70| 6d 6f 75 73 65 55 70 00 | 00 5a 00 1d 01 00 01 30 |mouseUp.|.Z.....0|
|00005e80| 00 95 01 55 00 bd 00 03 | 00 00 15 c4 00 01 00 00 |...U....|........|
|00005e90| 00 0c 00 00 00 10 47 72 | 61 64 69 6e 67 20 50 72 |......Gr|ading Pr|
|00005ea0| 65 66 73 00 00 6f 6e 20 | 6d 6f 75 73 65 55 70 0d |efs..on |mouseUp.|
|00005eb0| 64 6f 4e 61 76 20 22 67 | 72 61 64 69 6e 67 20 70 |doNav "g|rading p|
|00005ec0| 72 65 66 73 22 0d 65 6e | 64 20 6d 6f 75 73 65 55 |refs".en|d mouseU|
|00005ed0| 70 00 00 58 00 1e 01 00 | 01 30 00 bf 01 55 00 e7 |p..X....|.0...U..|
|00005ee0| 00 03 00 00 34 c2 00 01 | 00 00 00 0c 00 00 00 10 |....4...|........|
|00005ef0| 47 72 61 64 65 20 53 79 | 73 74 65 6d 00 00 6f 6e |Grade Sy|stem..on|
|00005f00| 20 6d 6f 75 73 65 55 70 | 0d 64 6f 4e 61 76 20 22 | mouseUp|.doNav "|
|00005f10| 67 72 61 64 65 20 73 79 | 73 74 65 6d 22 0d 65 6e |grade sy|stem".en|
|00005f20| 64 20 6d 6f 75 73 65 55 | 70 00 00 4c 00 1f 01 00 |d mouseU|p..L....|
|00005f30| 01 30 00 ea 01 55 01 12 | 00 03 00 00 3e 20 00 01 |.0...U..|....> ..|
|00005f40| 00 00 00 0c 00 00 00 10 | 50 72 69 6e 74 00 00 6f |........|Print..o|
|00005f50| 6e 20 6d 6f 75 73 65 55 | 70 0d 64 6f 4e 61 76 20 |n mouseU|p.doNav |
|00005f60| 22 70 72 69 6e 74 22 0d | 65 6e 64 20 6d 6f 75 73 |"print".|end mous|
|00005f70| 65 55 70 0d 00 00 00 4e | 00 20 01 00 01 30 01 14 |eUp....N|. ...0..|
|00005f80| 01 55 01 3c 00 03 00 00 | 2b 24 00 01 00 00 00 0c |.U.<....|+$......|
|00005f90| 00 00 00 10 45 6e 74 72 | 69 65 73 00 00 6f 6e 20 |....Entr|ies..on |
|00005fa0| 6d 6f 75 73 65 55 70 0d | 64 6f 4e 61 76 20 22 65 |mouseUp.|doNav "e|
|00005fb0| 6e 74 72 69 65 73 22 0d | 65 6e 64 20 6d 6f 75 73 |ntries".|end mous|
|00005fc0| 65 55 70 00 00 4c 00 21 | 01 00 01 30 01 3e 01 55 |eUp..L.!|...0.>.U|
|00005fd0| 01 66 00 03 00 00 30 ca | 00 01 00 00 00 0c 00 00 |.f....0.|........|
|00005fe0| 00 10 52 6f 73 74 65 72 | 00 00 6f 6e 20 6d 6f 75 |..Roster|..on mou|
|00005ff0| 73 65 55 70 0d 64 6f 4e | 61 76 20 22 52 6f 73 74 |seUp.doN|av "Rost|
|00006000| 65 72 22 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 00 |er".end |mouseUp.|
|00006010| 00 54 00 23 01 00 01 30 | 00 6b 01 55 00 93 00 03 |.T.#...0|.k.U....|
|00006020| 00 00 47 2e 00 01 00 00 | 00 0c 00 00 00 10 53 74 |..G.....|......St|
|00006030| 61 63 6b 20 49 6e 66 6f | 00 00 6f 6e 20 6d 6f 75 |ack Info|..on mou|
|00006040| 73 65 55 70 0d 64 6f 4e | 61 76 20 22 73 74 61 63 |seUp.doN|av "stac|
|00006050| 6b 20 69 6e 66 6f 22 0d | 65 6e 64 20 6d 6f 75 73 |k info".|end mous|
|00006060| 65 55 70 00 44 61 74 61 | 20 43 61 72 64 73 00 6f |eUp.Data| Cards.o|
|00006070| 6e 20 63 6c 6f 73 65 43 | 61 72 64 0d 2d 2d 20 63 |n closeC|ard.-- c|
|00006080| 6c 6f 73 65 20 68 65 6c | 70 20 69 66 20 75 73 65 |lose hel|p if use|
|00006090| 72 20 67 6f 65 73 20 74 | 6f 20 61 6e 6f 74 68 65 |r goes t|o anothe|
|000060a0| 72 20 63 61 72 64 0d 69 | 66 20 74 68 65 20 68 69 |r card.i|f the hi|
|000060b0| 6c 69 74 65 20 6f 66 20 | 62 6b 67 6e 64 20 62 74 |lite of |bkgnd bt|
|000060c0| 6e 20 22 68 65 6c 70 22 | 20 74 68 65 6e 20 73 65 |n "help"| then se|
|000060d0| 6e 64 20 6d 6f 75 73 65 | 55 70 20 74 6f 20 62 6b |nd mouse|Up to bk|
|000060e0| 67 6e 64 20 62 74 6e 20 | 22 68 65 6c 70 22 0d 70 |gnd btn |"help".p|
|000060f0| 61 73 73 20 63 6c 6f 73 | 65 43 61 72 64 0d 65 6e |ass clos|eCard.en|
|00006100| 64 20 63 6c 6f 73 65 43 | 61 72 64 0d 2d 2d 0d 6f |d closeC|ard.--.o|
|00006110| 6e 20 63 6c 6f 73 65 42 | 61 63 6b 67 72 6f 75 6e |n closeB|ackgroun|
|00006120| 64 0d 2d 2d 20 6d 61 6b | 65 20 73 75 72 65 20 62 |d.-- mak|e sure b|
|00006130| 75 74 74 6f 6e 20 69 73 | 20 6f 66 66 20 77 68 65 |utton is| off whe|
|00006140| 6e 20 75 73 65 72 20 6c | 65 61 76 65 73 20 62 6b |n user l|eaves bk|
|00006150| 67 6e 64 0d 70 75 74 20 | 73 68 6f 72 74 20 6e 61 |gnd.put |short na|
|00006160| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 20 |me of th|is card |
|00006170| 69 6e 74 6f 20 63 64 4e | 61 6d 65 0d 69 66 20 74 |into cdN|ame.if t|
|00006180| 68 65 72 65 20 69 73 20 | 61 20 62 6b 67 6e 64 20 |here is |a bkgnd |
|00006190| 62 74 6e 20 63 64 4e 61 | 6d 65 20 61 6e 64 20 c2 |btn cdNa|me and .|
|000061a0| 0d 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 62 |.the hil|ite of b|
|000061b0| 6b 67 6e 64 20 62 74 6e | 20 63 64 4e 61 6d 65 20 |kgnd btn| cdName |
|000061c0| 69 73 20 74 72 75 65 20 | 74 68 65 6e 0d 73 65 74 |is true |then.set|
|000061d0| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 62 | the hil|ite of b|
|000061e0| 6b 67 6e 64 20 62 74 6e | 20 63 64 4e 61 6d 65 20 |kgnd btn| cdName |
|000061f0| 74 6f 20 66 61 6c 73 65 | 0d 65 6e 64 20 69 66 0d |to false|.end if.|
|00006200| 70 61 73 73 20 63 6c 6f | 73 65 42 61 63 6b 67 72 |pass clo|seBackgr|
|00006210| 6f 75 6e 64 0d 65 6e 64 | 20 63 6c 6f 73 65 42 61 |ound.end| closeBa|
|00006220| 63 6b 67 72 6f 75 6e 64 | 0d 2d 2d 0d 6f 6e 20 61 |ckground|.--.on a|
|00006230| 72 72 6f 77 4b 65 79 20 | 64 69 72 65 63 74 69 6f |rrowKey |directio|
|00006240| 6e 0d 2d 2d 20 75 73 65 | 72 20 63 61 6e 20 6e 61 |n.-- use|r can na|
|00006250| 76 69 67 61 74 65 20 77 | 69 74 68 20 61 72 72 6f |vigate w|ith arro|
|00006260| 77 20 6b 65 79 73 0d 69 | 66 20 64 69 72 65 63 74 |w keys.i|f direct|
|00006270| 69 6f 6e 20 69 73 20 22 | 72 69 67 68 74 22 20 74 |ion is "|right" t|
|00006280| 68 65 6e 0d 69 66 20 73 | 68 6f 72 74 20 6e 61 6d |hen.if s|hort nam|
|00006290| 65 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 20 69 |e of thi|s card i|
|000062a0| 73 20 22 72 6f 73 74 65 | 72 22 20 74 68 65 6e 20 |s "roste|r" then |
|000062b0| 64 6f 4e 61 76 20 22 73 | 74 61 63 6b 20 69 6e 66 |doNav "s|tack inf|
|000062c0| 6f 22 0d 65 6c 73 65 0d | 70 75 74 20 73 68 6f 72 |o".else.|put shor|
|000062d0| 74 20 6e 61 6d 65 20 6f | 66 20 6e 65 78 74 20 63 |t name o|f next c|
|000062e0| 61 72 64 20 6f 66 20 74 | 68 69 73 20 62 6b 67 6e |ard of t|his bkgn|
|000062f0| 64 20 69 6e 74 6f 20 6e | 65 78 74 43 61 72 64 0d |d into n|extCard.|
|00006300| 64 6f 4e 61 76 20 6e 65 | 78 74 43 61 72 64 0d 65 |doNav ne|xtCard.e|
|00006310| 6e 64 20 69 66 0d 65 6c | 73 65 20 69 66 20 64 69 |nd if.el|se if di|
|00006320| 72 65 63 74 69 6f 6e 20 | 69 73 20 22 6c 65 66 74 |rection |is "left|
|00006330| 22 20 74 68 65 6e 0d 69 | 66 20 73 68 6f 72 74 20 |" then.i|f short |
|00006340| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 61 72 |name of |this car|
|00006350| 64 20 69 73 20 22 67 72 | 61 64 69 6e 67 20 70 72 |d is "gr|ading pr|
|00006360| 65 66 73 22 20 74 68 65 | 6e 20 64 6f 4e 61 76 20 |efs" the|n doNav |
|00006370| 22 73 74 61 63 6b 20 69 | 6e 66 6f 22 0d 65 6c 73 |"stack i|nfo".els|
|00006380| 65 0d 70 75 74 20 73 68 | 6f 72 74 20 6e 61 6d 65 |e.put sh|ort name|
|00006390| 20 6f 66 20 70 72 65 76 | 20 63 61 72 64 20 6f 66 | of prev| card of|
|000063a0| 20 74 68 69 73 20 62 6b | 67 6e 64 20 69 6e 74 6f | this bk|gnd into|
|000063b0| 20 70 72 65 76 43 61 72 | 64 0d 64 6f 4e 61 76 20 | prevCar|d.doNav |
|000063c0| 70 72 65 76 43 61 72 64 | 0d 65 6e 64 20 69 66 0d |prevCard|.end if.|
|000063d0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 61 72 72 6f 77 |end if.e|nd arrow|
|000063e0| 4b 65 79 0d 2d 2d 0d 66 | 75 6e 63 74 69 6f 6e 20 |Key.--.f|unction |
|000063f0| 67 65 74 4c 69 6e 65 43 | 68 6f 69 63 65 0d 2d 2d |getLineC|hoice.--|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.